albacore 0.6.2.rc1 → 1.0.0.rc.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.bundle/config +2 -0
- data/.gitignore +22 -3
- data/.rspec +2 -0
- data/.rvmrc +1 -0
- data/.travis.yml +15 -13
- data/CONTRIBUTING.md +87 -0
- data/Gemfile +6 -14
- data/Guardfile +3 -1
- data/LICENSE +21 -0
- data/README.md +47 -148
- data/Rakefile +24 -9
- data/albacore.gemspec +25 -32
- data/lib/albacore.rb +40 -3
- data/lib/albacore/albacoretask.rb +50 -0
- data/lib/albacore/aspnetcompiler.rb +58 -0
- data/lib/albacore/assemblyinfo.rb +182 -0
- data/lib/albacore/assemblyinfolanguages/assemblyinfoengine.rb +41 -0
- data/lib/albacore/assemblyinfolanguages/cppcliengine.rb +18 -0
- data/lib/albacore/assemblyinfolanguages/csharpengine.rb +15 -0
- data/lib/albacore/assemblyinfolanguages/fsharpengine.rb +23 -0
- data/lib/albacore/assemblyinfolanguages/vbnetengine.rb +15 -0
- data/lib/albacore/config/aspnetcompilerconfig.rb +29 -0
- data/lib/albacore/config/assemblyinfoconfig.rb +20 -0
- data/lib/albacore/config/config.rb +22 -0
- data/lib/albacore/config/cscconfig.rb +28 -0
- data/lib/albacore/config/docuconfig.rb +23 -0
- data/lib/albacore/config/execconfig.rb +15 -0
- data/lib/albacore/config/fluentmigratorrunnerconfig.rb +15 -0
- data/lib/albacore/config/ilmergeconfig.rb +24 -0
- data/lib/albacore/config/msbuildconfig.rb +29 -0
- data/lib/albacore/config/msdeployconfig.rb +15 -0
- data/lib/albacore/config/mspectestrunnerconfig.rb +15 -0
- data/lib/albacore/config/mstesttestrunnerconfig.rb +15 -0
- data/lib/albacore/config/nantconfig.rb +15 -0
- data/lib/albacore/config/nchurnconfig.rb +15 -0
- data/lib/albacore/config/ncoverconsoleconfig.rb +15 -0
- data/lib/albacore/config/ncoverreportconfig.rb +15 -0
- data/lib/albacore/config/ndependconfig.rb +15 -0
- data/lib/albacore/config/netversion.rb +24 -0
- data/lib/albacore/config/nugetpackconfig.rb +19 -0
- data/lib/albacore/config/nugetpublishconfig.rb +19 -0
- data/lib/albacore/config/nugetpushconfig.rb +19 -0
- data/lib/albacore/config/nugetupdateconfig.rb +19 -0
- data/lib/albacore/config/nunittestrunnerconfig.rb +14 -0
- data/lib/albacore/config/specflowreportconfig.rb +24 -0
- data/lib/albacore/config/sqlcmdconfig.rb +15 -0
- data/lib/albacore/config/unzipconfig.rb +15 -0
- data/lib/albacore/config/vssgetconfig.rb +14 -0
- data/lib/albacore/config/xbuildconfig.rb +15 -0
- data/lib/albacore/config/xunittestrunnerconfig.rb +15 -0
- data/lib/albacore/config/zipdirectoryconfig.rb +15 -0
- data/lib/albacore/csc.rb +67 -0
- data/lib/albacore/docu.rb +41 -0
- data/lib/albacore/exec.rb +18 -0
- data/lib/albacore/fluentmigratorrunner.rb +52 -0
- data/lib/albacore/ilmerge.rb +65 -0
- data/lib/albacore/msbuild.rb +78 -0
- data/lib/albacore/msdeploy.rb +122 -0
- data/lib/albacore/mspectestrunner.rb +50 -0
- data/lib/albacore/mstesttestrunner.rb +43 -0
- data/lib/albacore/nant.rb +38 -0
- data/lib/albacore/nchurn.rb +74 -0
- data/lib/albacore/ncoverconsole.rb +68 -0
- data/lib/albacore/ncoverreport.rb +62 -0
- data/lib/albacore/ncoverreports/assemblyfilter.rb +10 -0
- data/lib/albacore/ncoverreports/branchcoverage.rb +10 -0
- data/lib/albacore/ncoverreports/classfilter.rb +9 -0
- data/lib/albacore/ncoverreports/codecoveragebase.rb +25 -0
- data/lib/albacore/ncoverreports/cyclomaticcomplexity.rb +23 -0
- data/lib/albacore/ncoverreports/documentfilter.rb +9 -0
- data/lib/albacore/ncoverreports/fullcoveragereport.rb +13 -0
- data/lib/albacore/ncoverreports/methodcoverage.rb +10 -0
- data/lib/albacore/ncoverreports/methodfilter.rb +9 -0
- data/lib/albacore/ncoverreports/namespacefilter.rb +9 -0
- data/lib/albacore/ncoverreports/reportfilterbase.rb +26 -0
- data/lib/albacore/ncoverreports/summaryreport.rb +18 -0
- data/lib/albacore/ncoverreports/symbolcoverage.rb +9 -0
- data/lib/albacore/ndepend.rb +33 -0
- data/lib/albacore/nugetinstall.rb +57 -0
- data/lib/albacore/nugetpack.rb +54 -0
- data/lib/albacore/nugetpublish.rb +47 -0
- data/lib/albacore/nugetpush.rb +46 -0
- data/lib/albacore/nugetupdate.rb +51 -0
- data/lib/albacore/nunittestrunner.rb +41 -0
- data/lib/albacore/nuspec.rb +178 -0
- data/lib/albacore/output.rb +108 -0
- data/lib/albacore/plink.rb +47 -0
- data/lib/albacore/specflowreport.rb +62 -0
- data/lib/albacore/sqlcmd.rb +82 -0
- data/lib/albacore/support/attrmethods.rb +33 -0
- data/lib/albacore/support/createtask.rb +50 -0
- data/lib/albacore/support/failure.rb +15 -0
- data/lib/albacore/support/logging.rb +38 -0
- data/lib/albacore/support/openstruct.rb +13 -0
- data/lib/albacore/support/runcommand.rb +45 -0
- data/lib/albacore/support/supportlinux.rb +21 -0
- data/lib/albacore/support/updateattributes.rb +13 -0
- data/lib/albacore/support/yamlconfig.rb +18 -0
- data/lib/albacore/unzip.rb +34 -0
- data/lib/albacore/version.rb +3 -3
- data/lib/albacore/vssget.rb +44 -0
- data/lib/albacore/xbuild.rb +54 -0
- data/lib/albacore/xunittestrunner.rb +56 -0
- data/lib/albacore/zipdirectory.rb +108 -0
- data/samples/Rakefile +154 -0
- data/spec/README.md +9 -0
- data/spec/albacoremodel_spec.rb +53 -0
- data/spec/assemblyinfo_contexts.rb +52 -0
- data/spec/assemblyinfo_spec.rb +477 -0
- data/spec/attrmethods_spec.rb +136 -0
- data/spec/config_spec.rb +34 -0
- data/spec/createtask_spec.rb +237 -0
- data/spec/csc_spec.rb +253 -0
- data/spec/docu_spec.rb +109 -0
- data/spec/exec_spec.rb +45 -0
- data/spec/fluentmigratorrunner_spec.rb +263 -0
- data/spec/ilmerge_spec.rb +93 -0
- data/spec/msbuild_spec.rb +287 -0
- data/spec/msdeploy_spec.rb +124 -0
- data/spec/mspec_spec.rb +28 -0
- data/spec/mstesttestrunner_spec.rb +144 -0
- data/spec/nant_spec.rb +110 -0
- data/spec/nchurn_spec.rb +75 -0
- data/spec/ncoverconsole_spec.rb +353 -0
- data/spec/ncoverreport_spec.rb +619 -0
- data/spec/ndepend_spec.rb +72 -0
- data/spec/netversion_spec.rb +53 -0
- data/spec/nugetinstall_spec.rb +47 -0
- data/spec/nugetupdate_spec.rb +42 -0
- data/spec/nunittestrunner_spec.rb +115 -0
- data/spec/nuspec_spec.rb +127 -0
- data/spec/output_spec.rb +165 -0
- data/spec/patches/docu_patch.rb +13 -0
- data/spec/patches/fail_patch.rb +9 -0
- data/spec/patches/system_patch.rb +20 -0
- data/spec/plink_spec.rb +62 -0
- data/spec/runcommand_spec.rb +94 -0
- data/spec/spec.opts +1 -0
- data/spec/spec_helper.rb +15 -13
- data/spec/specflowreport_spec.rb +143 -0
- data/spec/sqlcmd_spec.rb +334 -0
- data/spec/support/AssemblyInfo/AssemblyInfo.test +6 -0
- data/spec/support/AssemblyInfo/AssemblyInfoInput.test +9 -0
- data/spec/support/AssemblyInfo/assemblyinfo.yml +2 -0
- data/spec/support/CodeCoverage/mspec/assemblies/Machine.Specifications.dll +0 -0
- data/spec/support/CodeCoverage/mspec/assemblies/TestSolution.MSpecTests.dll +0 -0
- data/spec/support/CodeCoverage/mspec/assemblies/TestSolution.dll +0 -0
- data/spec/support/CodeCoverage/mspec/assemblies/nunit.framework.dll +0 -0
- data/spec/support/CodeCoverage/mstest/TestSolution.MSTestTests.NET40.dll +0 -0
- data/spec/support/CodeCoverage/mstest/TestSolution.MSTestTests.dll +0 -0
- data/spec/support/CodeCoverage/nunit/assemblies/TestSolution.Tests.dll +0 -0
- data/spec/support/CodeCoverage/nunit/assemblies/TestSolution.dll +0 -0
- data/spec/support/CodeCoverage/nunit/assemblies/nunit.framework.dll +0 -0
- data/spec/support/CodeCoverage/nunit/assemblies/with spaces/TestSolution.Tests.dll +0 -0
- data/spec/support/CodeCoverage/nunit/assemblies/with spaces/TestSolution.dll +0 -0
- data/spec/support/CodeCoverage/nunit/assemblies/with spaces/nunit.framework.dll +0 -0
- data/spec/support/CodeCoverage/nunit/failing_assemblies/TestSolution.FailingTests.dll +0 -0
- data/spec/support/CodeCoverage/nunit/failing_assemblies/nunit.framework.dll +0 -0
- data/spec/support/CodeCoverage/report/coverage.xml +4578 -0
- data/spec/support/CodeCoverage/xunit/assemblies/TestSolution.XUnitTests.dll +0 -0
- data/spec/support/CodeCoverage/xunit/assemblies/TestSolution.dll +0 -0
- data/spec/support/CodeCoverage/xunit/assemblies/xunit.dll +0 -0
- data/spec/support/CodeCoverage/xunit/assemblies/xunit.xml +2604 -0
- data/spec/support/FluentMigrator/FluentMigrator.dll +0 -0
- data/spec/support/FluentMigrator/TestSolution.FluentMigrator.dll +0 -0
- data/spec/support/SpecFlow/TechTalk.SpecFlow.dll +0 -0
- data/spec/support/SpecFlow/TestSolution.SpecFlow.dll +0 -0
- data/spec/support/SpecFlow/TestSolution.SpecFlow.pdb +0 -0
- data/spec/support/SpecFlow/TestSolution.dll +0 -0
- data/spec/support/SpecFlow/TestSolution.pdb +0 -0
- data/spec/support/SpecFlow/nunit.framework.dll +0 -0
- data/spec/support/TestSolution/LocalTestRun.testrunconfig +5 -0
- data/spec/support/TestSolution/NDependProject.xml +315 -0
- data/spec/support/TestSolution/TestSolution.5.0.ReSharper.user +27 -0
- data/spec/support/TestSolution/TestSolution.FailingTests/FailingTestFixture.cs +19 -0
- data/spec/support/TestSolution/TestSolution.FailingTests/Properties/AssemblyInfo.cs +36 -0
- data/spec/support/TestSolution/TestSolution.FailingTests/TestSolution.FailingTests.csproj +101 -0
- data/spec/support/TestSolution/TestSolution.FluentMigrator/M001_SampleMigration.cs +19 -0
- data/spec/support/TestSolution/TestSolution.FluentMigrator/Properties/AssemblyInfo.cs +36 -0
- data/spec/support/TestSolution/TestSolution.FluentMigrator/TestSolution.FluentMigrator.csproj +101 -0
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy.sln +20 -0
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/About.aspx +13 -0
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/About.aspx.cs +17 -0
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/About.aspx.designer.cs +17 -0
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/ChangePassword.aspx +60 -0
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/ChangePassword.aspx.cs +17 -0
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/ChangePassword.aspx.designer.cs +26 -0
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/ChangePasswordSuccess.aspx +13 -0
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/ChangePasswordSuccess.aspx.cs +17 -0
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/ChangePasswordSuccess.aspx.designer.cs +17 -0
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/Login.aspx +49 -0
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/Login.aspx.cs +17 -0
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/Login.aspx.designer.cs +35 -0
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/Register.aspx +75 -0
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/Register.aspx.cs +32 -0
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/Register.aspx.designer.cs +35 -0
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/Web.config +18 -0
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Default.aspx +17 -0
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Default.aspx.cs +17 -0
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Default.aspx.designer.cs +17 -0
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Global.asax +1 -0
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Global.asax.cs +47 -0
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Properties/AssemblyInfo.cs +35 -0
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Scripts/jquery-1.4.1-vsdoc.js +8061 -0
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Scripts/jquery-1.4.1.js +6111 -0
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Scripts/jquery-1.4.1.min.js +167 -0
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Site.Master +51 -0
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Site.Master.cs +17 -0
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Site.Master.designer.cs +71 -0
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Styles/Site.css +294 -0
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/TestSolution.MSDeploy.Publish.xml +2 -0
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/TestSolution.MSDeploy.csproj +163 -0
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Web.Debug.config +30 -0
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Web.Release.config +31 -0
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Web.config +52 -0
- data/spec/support/TestSolution/TestSolution.MSTestTests.NET40/Properties/AssemblyInfo.cs +36 -0
- data/spec/support/TestSolution/TestSolution.MSTestTests.NET40/TestSolution.MSTestTests.NET40.csproj +53 -0
- data/spec/support/TestSolution/TestSolution.MSTestTests.NET40/Tests.cs +20 -0
- data/spec/support/TestSolution/TestSolution.MSTestTests/Properties/AssemblyInfo.cs +35 -0
- data/spec/support/TestSolution/TestSolution.MSTestTests/TestSolution.MSTestTests.csproj +97 -0
- data/spec/support/TestSolution/TestSolution.MSTestTests/Tests.cs +20 -0
- data/spec/support/TestSolution/TestSolution.MSpecTests/Properties/AssemblyInfo.cs +36 -0
- data/spec/support/TestSolution/TestSolution.MSpecTests/SomeSpecTest.cs +18 -0
- data/spec/support/TestSolution/TestSolution.MSpecTests/TestSolution.MSpecTests.csproj +110 -0
- data/spec/support/TestSolution/TestSolution.SpecFlow/OneFeature.feature +8 -0
- data/spec/support/TestSolution/TestSolution.SpecFlow/OneFeature.feature.cs +73 -0
- data/spec/support/TestSolution/TestSolution.SpecFlow/Properties/AssemblyInfo.cs +36 -0
- data/spec/support/TestSolution/TestSolution.SpecFlow/StepDefinition.cs +30 -0
- data/spec/support/TestSolution/TestSolution.SpecFlow/TestSolution.SpecFlow.csproj +122 -0
- data/spec/support/TestSolution/TestSolution.Tests/Properties/AssemblyInfo.cs +36 -0
- data/spec/support/TestSolution/TestSolution.Tests/SomeTestFixture.cs +23 -0
- data/spec/support/TestSolution/TestSolution.Tests/TestSolution.Tests.csproj +107 -0
- data/spec/support/TestSolution/TestSolution.XUnitTests/Class1.cs +20 -0
- data/spec/support/TestSolution/TestSolution.XUnitTests/FailingTestFixture.cs +14 -0
- data/spec/support/TestSolution/TestSolution.XUnitTests/Properties/AssemblyInfo.cs +36 -0
- data/spec/support/TestSolution/TestSolution.XUnitTests/TestSolution.XUnitTests.csproj +108 -0
- data/spec/support/TestSolution/TestSolution.build +25 -0
- data/spec/support/TestSolution/TestSolution.sln +75 -0
- data/spec/support/TestSolution/TestSolution.vsmdi +6 -0
- data/spec/support/TestSolution/TestSolution/Class1.cs +17 -0
- data/spec/support/TestSolution/TestSolution/Properties/AssemblyInfo.cs +36 -0
- data/spec/support/TestSolution/TestSolution/TestSolution.csproj +97 -0
- data/spec/support/Tools/FluentMigrator-0.9/FluentMigrator.MSBuild.dll +0 -0
- data/spec/support/Tools/FluentMigrator-0.9/FluentMigrator.NAnt.dll +0 -0
- data/spec/support/Tools/FluentMigrator-0.9/FluentMigrator.Runner.dll +0 -0
- data/spec/support/Tools/FluentMigrator-0.9/FluentMigrator.Runner.pdb +0 -0
- data/spec/support/Tools/FluentMigrator-0.9/FluentMigrator.Tests.dll +0 -0
- data/spec/support/Tools/FluentMigrator-0.9/FluentMigrator.Tests.pdb +0 -0
- data/spec/support/Tools/FluentMigrator-0.9/FluentMigrator.dll +0 -0
- data/spec/support/Tools/FluentMigrator-0.9/FluentMigrator.pdb +0 -0
- data/spec/support/Tools/FluentMigrator-0.9/Migrate.exe +0 -0
- data/spec/support/Tools/FluentMigrator-0.9/Migrate.exe.config +6 -0
- data/spec/support/Tools/FluentMigrator-0.9/Moq.dll +0 -0
- data/spec/support/Tools/FluentMigrator-0.9/Moq.xml +3467 -0
- data/spec/support/Tools/FluentMigrator-0.9/MySql.Data.dll +0 -0
- data/spec/support/Tools/FluentMigrator-0.9/NAnt.Core.dll +0 -0
- data/spec/support/Tools/FluentMigrator-0.9/NAnt.Core.xml +14880 -0
- data/spec/support/Tools/FluentMigrator-0.9/Oracle.DataAccess.dll +0 -0
- data/spec/support/Tools/FluentMigrator-0.9/System.Data.SQLite.DLL +0 -0
- data/spec/support/Tools/FluentMigrator-0.9/log4net.dll +0 -0
- data/spec/support/Tools/FluentMigrator-0.9/nunit.framework.dll +0 -0
- data/spec/support/Tools/FluentMigrator-0.9/nunit.should.dll +0 -0
- data/spec/support/Tools/FluentMigrator-0.9/testscript.sql +1 -0
- data/spec/support/Tools/MSTest-2008/MSTest.exe +0 -0
- data/spec/support/Tools/MSTest-2008/Microsoft.VisualStudio.QualityTools.CommandLine.dll +0 -0
- data/spec/support/Tools/MSTest-2008/Microsoft.VisualStudio.QualityTools.Common.dll +0 -0
- data/spec/support/Tools/MSTest-2008/Microsoft.VisualStudio.QualityTools.ControllerObject.dll +0 -0
- data/spec/support/Tools/MSTest-2008/Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll +0 -0
- data/spec/support/Tools/MSTest-2008/Microsoft.VisualStudio.QualityTools.TMI.dll +0 -0
- data/spec/support/Tools/MSTest-2008/Microsoft.VisualStudio.QualityTools.Tips.UnitTest.Adapter.dll +0 -0
- data/spec/support/Tools/MSTest-2008/Microsoft.VisualStudio.QualityTools.Tips.UnitTest.AssemblyResolver.dll +0 -0
- data/spec/support/Tools/MSTest-2008/Microsoft.VisualStudio.QualityTools.Tips.UnitTest.ObjectModel.dll +0 -0
- data/spec/support/Tools/MSTest-2008/Microsoft.VisualStudio.QualityTools.Tips.UnitTest.Tip.dll +0 -0
- data/spec/support/Tools/MSTest-2010/MSTest.exe +0 -0
- data/spec/support/Tools/MSTest-2010/MSTest.exe.config +31 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.AgentObject.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.AgentProcessManager.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.CMI.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.CheckinPolicies.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.CodeCoverage.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.CodedUITest.Controls.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.CodedUITestFramework.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.CodedUITestPackage.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.CommandLine.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Common.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Controller.SpooledJob.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.ControllerObject.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.DataCollectionAgentObject.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.HostAdapters.ASPNETAdapter.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.HostAdapters.ASPNETAgent.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Linking.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTest.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestExcelAddIn.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestExcelAddIn.dll.manifest +296 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestExcelAddIn.vsto +150 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestExcelCommon.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestExcelCommon.tlb +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestExec.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestPackage.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestUI.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.NICServices.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.NetworkEmulation.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.OperationalStore.ClientHelper.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.RecorderBar.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.RecorderBarBHO100.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Resource.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Sqm.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.TMI.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.TestCaseManagement.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.GenericTest.Adapter.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.GenericTest.ObjectModel.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.GenericTest.Tip.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.ManualTest.Adapter.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.ManualTest.ObjectModel.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.ManualTest.Tip.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.OrderedTest.Adapter.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.OrderedTest.ObjectModel.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.OrderedTest.Tip.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.TuipPackage.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.UnitTest.Adapter.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.UnitTest.AssemblyResolver.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.UnitTest.ObjectModel.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.UnitTest.Tip.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.WebLoadTest.Tip.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Vsip.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.WarehouseCommon.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.WebTestFramework.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.WebTestPlayback.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Wizard.TestProjectWizards.dll +0 -0
- data/spec/support/Tools/MSTest-2010/mstest.reg +0 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/lib/Machine.Specifications.TDNetRunner.dll +0 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/lib/Machine.Specifications.dll +0 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/lib/Machine.Specifications.dll.tdnet +5 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/CommandLine.dll +0 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/CommandLine.xml +504 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.4.1.bat +5 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.4.5.bat +5 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.5.0 - VS2008.bat +5 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.5.0 - VS2010.bat +5 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.5.1 - VS2008.bat +5 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.5.1 - VS2010.bat +5 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.6.0 - VS2008.bat +5 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.6.0 - VS2010.bat +5 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.6.1 - VS2008.bat +5 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.6.1 - VS2010.bat +5 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallTDNetRunner.bat +16 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallTDNetRunnerSilent.bat +16 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/License.txt +54 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.GallioAdapter.3.1.dll +0 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.GallioAdapter.plugin +43 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.ReSharperRunner.4.1.dll +0 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.ReSharperRunner.4.5.dll +0 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.ReSharperRunner.5.0.dll +0 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.ReSharperRunner.5.1.dll +0 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.ReSharperRunner.6.0.dll +0 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.ReSharperRunner.6.1.dll +0 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.Reporting.Templates.dll +0 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.Reporting.dll +0 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.SeleniumSupport.dll +0 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.TDNetRunner.dll +0 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.WatinSupport.dll +0 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.dll +0 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.dll.tdnet +5 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Spark.dll +0 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/TestDriven.Framework.dll +0 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/install.ps1 +6 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/mspec-clr4.exe +0 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/mspec-clr4.exe.config +6 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/mspec-x86-clr4.exe +0 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/mspec-x86-clr4.exe.config +6 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/mspec-x86.exe +0 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/mspec.exe +0 -0
- data/spec/support/Tools/NAnt-0.85/COPYING.txt +340 -0
- data/spec/support/Tools/NAnt-0.85/README.txt +144 -0
- data/spec/support/Tools/NChurn-v0.4/LICENSE.txt +133 -0
- data/spec/support/Tools/NChurn-v0.4/NChurn.exe +0 -0
- data/spec/support/Tools/NChurn-v0.4/README.md +171 -0
- data/spec/support/Tools/NChurn-v0.4/VERSION +1 -0
- data/spec/support/Tools/NChurn-v0.4/churn-0.4.0.0.txt +178 -0
- data/spec/support/Tools/NCover-v3.3/ActiproEULA.hml +287 -0
- data/spec/support/Tools/NCover-v3.3/ActiproSoftware.Shared.Wpf30.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/ActiproSoftware.SyntaxEditor.Addons.DotNet.Wpf30.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/ActiproSoftware.SyntaxEditor.Wpf30.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/ActiproSoftware.Text.Net20.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/AdminBootstrapper.exe +0 -0
- data/spec/support/Tools/NCover-v3.3/Build Task Plugins/MSBuildNCoverExample.proj +237 -0
- data/spec/support/Tools/NCover-v3.3/Build Task Plugins/MSBuildReportingExample.proj +224 -0
- data/spec/support/Tools/NCover-v3.3/Build Task Plugins/NAntNCoverExample.build +241 -0
- data/spec/support/Tools/NCover-v3.3/Build Task Plugins/NAntReportingExample.build +218 -0
- data/spec/support/Tools/NCover-v3.3/Build Task Plugins/NCover.MSBuildTasks.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/Build Task Plugins/NCover.NAntTasks.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/Build Task Plugins/NCoverExplorer.MSBuildTasks.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/Build Task Plugins/NCoverExplorer.NAntTasks.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/CC.Net/NCoverReporting30.xsl +2313 -0
- data/spec/support/Tools/NCover-v3.3/CC.Net/dashboard.config +55 -0
- data/spec/support/Tools/NCover-v3.3/CC.Net/excanvas.js +35 -0
- data/spec/support/Tools/NCover-v3.3/CC.Net/g.png +0 -0
- data/spec/support/Tools/NCover-v3.3/CC.Net/jquery-1.3.2.min.js +19 -0
- data/spec/support/Tools/NCover-v3.3/CC.Net/r.png +0 -0
- data/spec/support/Tools/NCover-v3.3/CC.Net/readme.txt +51 -0
- data/spec/support/Tools/NCover-v3.3/CC.Net/trends.js +184 -0
- data/spec/support/Tools/NCover-v3.3/CC.Net/y.png +0 -0
- data/spec/support/Tools/NCover-v3.3/MSVCM90.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/MSVCP90.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/MSVCR90.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/Microsoft.VC90.CRT.manifest +13 -0
- data/spec/support/Tools/NCover-v3.3/Mindscape.LightSpeed.Linq.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/Mindscape.LightSpeed.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/NCover.Console.exe +0 -0
- data/spec/support/Tools/NCover-v3.3/NCover.Console.exe.config +55 -0
- data/spec/support/Tools/NCover-v3.3/NCover.Data.x86.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/NCover.Explorer.Framework.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/NCover.Explorer.exe +0 -0
- data/spec/support/Tools/NCover-v3.3/NCover.Explorer.exe.config +16 -0
- data/spec/support/Tools/NCover-v3.3/NCover.Framework.XmlSerializers.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/NCover.Framework.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/NCover.Interfaces.Core.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/NCover.Interfaces.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/NCover.Legacy.Configuration.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/NCover.Lib.x86.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/NCover.Registration.exe +0 -0
- data/spec/support/Tools/NCover-v3.3/NCover.Reporting.exe +0 -0
- data/spec/support/Tools/NCover-v3.3/NCover.Runner.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/NCover.UpConvert.exe +0 -0
- data/spec/support/Tools/NCover-v3.3/NCover.Utilities.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/NCoverEULA.pdf +0 -0
- data/spec/support/Tools/NCover-v3.3/NCoverExplorer.Console.exe +0 -0
- data/spec/support/Tools/NCover-v3.3/ReportingExample.config +213 -0
- data/spec/support/Tools/NCover-v3.3/System.Data.SQLite.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/EULA_NDepend.txt +94 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/DevExpress.Data.v8.2.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/DevExpress.OfficeSkins.v8.2.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/DevExpress.Utils.v8.2.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/DevExpress.XtraBars.v8.2.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/DevExpress.XtraEditors.v8.2.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/DevExpress.XtraNavBar.v8.2.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/EnvDTE.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/Microsoft.Msagl.Drawing.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/Microsoft.Msagl.GraphViewerGdi.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/Microsoft.Msagl.GraphViewerGdi.dll.config +3 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/Microsoft.Msagl.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/Microsoft.VisualStudio.OLE.Interop.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/Microsoft.VisualStudio.Shell.Interop.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/Microsoft.VisualStudio.Shell.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/Mono.Cecil.Pdb.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/Mono.Cecil.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/NDepend.AddIn.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/NDepend.Analysis.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/NDepend.CQL.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/NDepend.Framework.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/NDepend.Platform.DotNet.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/NDepend.Skins.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/NDepend.UI.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/msvcp71.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/msvcr71.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/NDepend.Console.exe +0 -0
- data/spec/support/Tools/NDepend-v2.12/NDepend.Console.exe.config +8 -0
- data/spec/support/Tools/NDepend-v2.12/QuickStartTutorial_NDepend.txt +152 -0
- data/spec/support/Tools/NDepend-v2.12/VisualNDepend.exe +0 -0
- data/spec/support/Tools/NUnit-v2.5/NUnitFitTests.html +277 -0
- data/spec/support/Tools/NUnit-v2.5/NUnitTests.config +84 -0
- data/spec/support/Tools/NUnit-v2.5/NUnitTests.nunit +14 -0
- data/spec/support/Tools/NUnit-v2.5/TestResult.xml +32 -0
- data/spec/support/Tools/NUnit-v2.5/agent.conf +4 -0
- data/spec/support/Tools/NUnit-v2.5/agent.log.conf +18 -0
- data/spec/support/Tools/NUnit-v2.5/clr.bat +96 -0
- data/spec/support/Tools/NUnit-v2.5/framework/nunit.framework.dll +0 -0
- data/spec/support/Tools/NUnit-v2.5/framework/nunit.framework.xml +10088 -0
- data/spec/support/Tools/NUnit-v2.5/framework/nunit.mocks.dll +0 -0
- data/spec/support/Tools/NUnit-v2.5/framework/pnunit.framework.dll +0 -0
- data/spec/support/Tools/NUnit-v2.5/launcher.log.conf +18 -0
- data/spec/support/Tools/NUnit-v2.5/lib/Failure.png +0 -0
- data/spec/support/Tools/NUnit-v2.5/lib/Ignored.png +0 -0
- data/spec/support/Tools/NUnit-v2.5/lib/Inconclusive.png +0 -0
- data/spec/support/Tools/NUnit-v2.5/lib/Skipped.png +0 -0
- data/spec/support/Tools/NUnit-v2.5/lib/Success.png +0 -0
- data/spec/support/Tools/NUnit-v2.5/lib/fit.dll +0 -0
- data/spec/support/Tools/NUnit-v2.5/lib/log4net.dll +0 -0
- data/spec/support/Tools/NUnit-v2.5/lib/nunit-console-runner.dll +0 -0
- data/spec/support/Tools/NUnit-v2.5/lib/nunit-gui-runner.dll +0 -0
- data/spec/support/Tools/NUnit-v2.5/lib/nunit.core.dll +0 -0
- data/spec/support/Tools/NUnit-v2.5/lib/nunit.core.interfaces.dll +0 -0
- data/spec/support/Tools/NUnit-v2.5/lib/nunit.fixtures.dll +0 -0
- data/spec/support/Tools/NUnit-v2.5/lib/nunit.uiexception.dll +0 -0
- data/spec/support/Tools/NUnit-v2.5/lib/nunit.uikit.dll +0 -0
- data/spec/support/Tools/NUnit-v2.5/lib/nunit.util.dll +0 -0
- data/spec/support/Tools/NUnit-v2.5/nunit-agent.exe +0 -0
- data/spec/support/Tools/NUnit-v2.5/nunit-agent.exe.config +87 -0
- data/spec/support/Tools/NUnit-v2.5/nunit-console-x86.exe +0 -0
- data/spec/support/Tools/NUnit-v2.5/nunit-console-x86.exe.config +87 -0
- data/spec/support/Tools/NUnit-v2.5/nunit-console.exe +0 -0
- data/spec/support/Tools/NUnit-v2.5/nunit-console.exe.config +87 -0
- data/spec/support/Tools/NUnit-v2.5/nunit-x86.exe +0 -0
- data/spec/support/Tools/NUnit-v2.5/nunit-x86.exe.config +95 -0
- data/spec/support/Tools/NUnit-v2.5/nunit.exe +0 -0
- data/spec/support/Tools/NUnit-v2.5/nunit.exe.config +95 -0
- data/spec/support/Tools/NUnit-v2.5/nunit.framework.dll +0 -0
- data/spec/support/Tools/NUnit-v2.5/pnunit-agent.exe +0 -0
- data/spec/support/Tools/NUnit-v2.5/pnunit-agent.exe.config +87 -0
- data/spec/support/Tools/NUnit-v2.5/pnunit-launcher.exe +0 -0
- data/spec/support/Tools/NUnit-v2.5/pnunit-launcher.exe.config +87 -0
- data/spec/support/Tools/NUnit-v2.5/pnunit.framework.dll +0 -0
- data/spec/support/Tools/NUnit-v2.5/pnunit.tests.dll +0 -0
- data/spec/support/Tools/NUnit-v2.5/runFile.exe +0 -0
- data/spec/support/Tools/NUnit-v2.5/runFile.exe.config +43 -0
- data/spec/support/Tools/NUnit-v2.5/runpnunit.bat +2 -0
- data/spec/support/Tools/NUnit-v2.5/test.conf +24 -0
- data/spec/support/Tools/PartCover-v2.3/Interop.PartCover.dll +0 -0
- data/spec/support/Tools/PartCover-v2.3/PartCover Browser Manual.rtf +28853 -0
- data/spec/support/Tools/PartCover-v2.3/PartCover Console Manual.rtf +203 -0
- data/spec/support/Tools/PartCover-v2.3/PartCover.Browser.Api.dll +0 -0
- data/spec/support/Tools/PartCover-v2.3/PartCover.Browser.exe +0 -0
- data/spec/support/Tools/PartCover-v2.3/PartCover.Browser.exe.config +51 -0
- data/spec/support/Tools/PartCover-v2.3/PartCover.CorDriver.dll +0 -0
- data/spec/support/Tools/PartCover-v2.3/PartCover.Framework.dll +0 -0
- data/spec/support/Tools/PartCover-v2.3/PartCover.exe +0 -0
- data/spec/support/Tools/PartCover-v2.3/PartCover.exe.config +4 -0
- data/spec/support/Tools/PartCover-v2.3/PartViewer.dll +0 -0
- data/spec/support/Tools/PartCover-v2.3/app.ico +0 -0
- data/spec/support/Tools/PartCover-v2.3/log4net.dll +0 -0
- data/spec/support/Tools/PartCover-v2.3/xslt/Report By Assembly.xslt +54 -0
- data/spec/support/Tools/PartCover-v2.3/xslt/Report By Class.xslt +52 -0
- data/spec/support/Tools/SpecFlow/Antlr3.Runtime.dll +0 -0
- data/spec/support/Tools/SpecFlow/Interop.SHDocVw.dll +0 -0
- data/spec/support/Tools/SpecFlow/TechTalk.SpecFlow.Generator.dll +0 -0
- data/spec/support/Tools/SpecFlow/TechTalk.SpecFlow.Parser.dll +0 -0
- data/spec/support/Tools/SpecFlow/TechTalk.SpecFlow.Reporting.dll +0 -0
- data/spec/support/Tools/SpecFlow/TechTalk.SpecFlow.VsIntegration.dll +0 -0
- data/spec/support/Tools/SpecFlow/TechTalk.SpecFlow.dll +0 -0
- data/spec/support/Tools/SpecFlow/TechTalk.SpecFlow.targets +58 -0
- data/spec/support/Tools/SpecFlow/TechTalk.SpecFlow.tasks +17 -0
- data/spec/support/Tools/SpecFlow/changelog.txt +50 -0
- data/spec/support/Tools/SpecFlow/specflow.exe +0 -0
- data/spec/support/Tools/XUnit-v1.9/EULA.txt +29 -0
- data/spec/support/Tools/XUnit-v1.9/HTML.xslt +126 -0
- data/spec/support/Tools/XUnit-v1.9/NUnitXml.xslt +121 -0
- data/spec/support/Tools/XUnit-v1.9/xunit.console.clr4.exe +0 -0
- data/spec/support/Tools/XUnit-v1.9/xunit.console.clr4.exe.config +21 -0
- data/spec/support/Tools/XUnit-v1.9/xunit.console.clr4.x86.exe +0 -0
- data/spec/support/Tools/XUnit-v1.9/xunit.console.clr4.x86.exe.config +21 -0
- data/spec/support/Tools/XUnit-v1.9/xunit.console.exe +0 -0
- data/spec/support/Tools/XUnit-v1.9/xunit.console.exe.config +21 -0
- data/spec/support/Tools/XUnit-v1.9/xunit.console.x86.exe +0 -0
- data/spec/support/Tools/XUnit-v1.9/xunit.console.x86.exe.config +21 -0
- data/spec/support/Tools/XUnit-v1.9/xunit.dll +0 -0
- data/spec/support/Tools/XUnit-v1.9/xunit.dll.tdnet +5 -0
- data/spec/support/Tools/XUnit-v1.9/xunit.extensions.dll +0 -0
- data/spec/support/Tools/XUnit-v1.9/xunit.extensions.xml +805 -0
- data/spec/support/Tools/XUnit-v1.9/xunit.gui.clr4.exe +0 -0
- data/spec/support/Tools/XUnit-v1.9/xunit.gui.clr4.x86.exe +0 -0
- data/spec/support/Tools/XUnit-v1.9/xunit.gui.exe +0 -0
- data/spec/support/Tools/XUnit-v1.9/xunit.gui.x86.exe +0 -0
- data/spec/support/Tools/XUnit-v1.9/xunit.installer.exe +0 -0
- data/spec/support/Tools/XUnit-v1.9/xunit.runner.msbuild.dll +0 -0
- data/spec/support/Tools/XUnit-v1.9/xunit.runner.tdnet.dll +0 -0
- data/spec/support/Tools/XUnit-v1.9/xunit.runner.utility.dll +0 -0
- data/spec/support/Tools/XUnit-v1.9/xunit.runner.utility.xml +1212 -0
- data/spec/support/Tools/XUnit-v1.9/xunit.xml +2604 -0
- data/spec/support/assemblyinfotester.rb +52 -0
- data/spec/support/csc/File1.cs +9 -0
- data/spec/support/csc/File2.cs +9 -0
- data/spec/support/csc/output/ignorethis.txt +1 -0
- data/spec/support/ironruby_validator.rb +26 -0
- data/spec/support/msbuildtestdata.rb +32 -0
- data/spec/support/nanttestdata.rb +33 -0
- data/spec/support/ncoverconsoletestdata.rb +20 -0
- data/spec/support/ncoverreporttestdata.rb +26 -0
- data/spec/support/nokogiri_validator.rb +15 -0
- data/spec/support/nuspec/nuspec.xsd +84 -0
- data/spec/support/outputtestdata.rb +13 -0
- data/spec/support/test.yml +4 -0
- data/spec/support/yamlconfig/msbuild.yml +5 -0
- data/spec/support/yamlconfig/yaml_autoconfig_test.yml +1 -0
- data/spec/support/zip/files/subfolder/sub file.txt +1 -0
- data/spec/support/zip/files/testfile.txt +1 -0
- data/spec/support/ziptestdata.rb +13 -0
- data/spec/unzip_spec.rb +57 -0
- data/spec/xbuild_spec.rb +15 -0
- data/spec/xunit_spec.rb +200 -0
- data/spec/yamlconfig_spec.rb +49 -0
- data/spec/zip_spec.rb +215 -0
- metadata +1231 -191
- data/lib/albacore/albacore_module.rb +0 -53
- data/lib/albacore/application.rb +0 -32
- data/lib/albacore/asmver.rb +0 -67
- data/lib/albacore/asmver/cpp.rb +0 -20
- data/lib/albacore/asmver/cs.rb +0 -17
- data/lib/albacore/asmver/engine.rb +0 -43
- data/lib/albacore/asmver/fs.rb +0 -25
- data/lib/albacore/asmver/vb.rb +0 -17
- data/lib/albacore/build.rb +0 -203
- data/lib/albacore/cmd_config.rb +0 -55
- data/lib/albacore/cross_platform_cmd.rb +0 -177
- data/lib/albacore/dsl.rb +0 -118
- data/lib/albacore/errors/unfilled_property_error.rb +0 -14
- data/lib/albacore/ext/README.md +0 -12
- data/lib/albacore/ext/teamcity.rb +0 -64
- data/lib/albacore/facts.rb +0 -25
- data/lib/albacore/logging.rb +0 -29
- data/lib/albacore/migrate.rb +0 -175
- data/lib/albacore/nugets_authentication.rb +0 -9
- data/lib/albacore/nugets_pack.rb +0 -283
- data/lib/albacore/nugets_restore.rb +0 -131
- data/lib/albacore/paths.rb +0 -30
- data/lib/albacore/project.rb +0 -104
- data/lib/albacore/restore_hint_paths.rb +0 -112
- data/lib/albacore/semver.rb +0 -5
- data/lib/albacore/tasks/README.md +0 -16
- data/lib/albacore/tasks/albasemver.rb +0 -49
- data/lib/albacore/tasks/projectlint.rb +0 -81
- data/lib/albacore/tasks/versionizer.rb +0 -65
- data/lib/albacore/test_runner.rb +0 -39
- data/spec/Rakefile +0 -5
- data/spec/albacore_spec.rb +0 -35
- data/spec/cross_platform_cmd_spec.rb +0 -77
- data/spec/ext_teamcity_spec.rb +0 -71
- data/spec/facts_spec.rb +0 -7
- data/spec/migrate_spec.rb +0 -80
- data/spec/nugets_pack_spec.rb +0 -66
- data/spec/nugets_restore_spec.rb +0 -55
- data/spec/project_spec.rb +0 -26
- data/spec/projectlint/added_but_not_on_filesystem/aproject.csproj +0 -29
- data/spec/projectlint/correct/File.cs +0 -1
- data/spec/projectlint/correct/Image.txt +0 -1
- data/spec/projectlint/correct/MyHeavy.heavy +0 -1
- data/spec/projectlint/correct/Schema.xsd +0 -1
- data/spec/projectlint/correct/SubFolder/AnotherFile.cs +0 -1
- data/spec/projectlint/correct/aproject.csproj +0 -29
- data/spec/projectlint/on_filesystem_but_not_added/File.cs +0 -1
- data/spec/projectlint/on_filesystem_but_not_added/Image.txt +0 -1
- data/spec/projectlint/on_filesystem_but_not_added/aproject.csproj +0 -11
- data/spec/projectlint_spec.rb +0 -77
- data/spec/sh_interceptor.rb +0 -33
- data/spec/smoke_spec.rb +0 -9
- data/spec/testdata/Library1.fs +0 -4
- data/spec/testdata/Project.fsproj +0 -58
- data/spec/testdata/Project/Project.sln +0 -20
- data/spec/testdata/Project/Project.v11.suo +0 -0
- data/spec/testdata/example.nuspec +0 -14
- data/spec/testdata/packages.config +0 -6
@@ -0,0 +1,72 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'albacore/ndepend'
|
3
|
+
require 'albacore/msbuild'
|
4
|
+
|
5
|
+
describe "when executing Ndepend console" do
|
6
|
+
before :all do
|
7
|
+
@msbuild = MSBuild.new
|
8
|
+
@msbuild.properties = {:configuration => :Debug}
|
9
|
+
@msbuild.targets = [:Clean, :Build]
|
10
|
+
@msbuild.solution = "spec/support/TestSolution/TestSolution.sln"
|
11
|
+
@msbuild.execute
|
12
|
+
end
|
13
|
+
before :each do
|
14
|
+
@ndepend = NDepend.new
|
15
|
+
@ndepend.log_device = StringIO.new
|
16
|
+
@ndepend.project_file = "spec/support/TestSolution/NDependProject.xml"
|
17
|
+
@ndepend.command = "spec/support/tools/Ndepend-v2.12/NDepend.Console.exe"
|
18
|
+
|
19
|
+
@logger = StringIO.new
|
20
|
+
@ndepend.log_device = @logger
|
21
|
+
@log_data = @logger.string
|
22
|
+
@ndepend.log_level = :verbose
|
23
|
+
|
24
|
+
|
25
|
+
end
|
26
|
+
it "should execute NdependConsole.exe"do
|
27
|
+
@ndepend.execute
|
28
|
+
|
29
|
+
@log_data.should include("NDepend.Console.exe" )
|
30
|
+
end
|
31
|
+
|
32
|
+
it "should include the Ndepend project file" do
|
33
|
+
@ndepend.execute
|
34
|
+
@log_data.should include("NDependProject.xml")
|
35
|
+
end
|
36
|
+
|
37
|
+
it "should fail when the project file is not given" do
|
38
|
+
@ndepend.project_file = nil
|
39
|
+
@ndepend.extend(FailPatch)
|
40
|
+
@ndepend.execute
|
41
|
+
$task_failed.should be_true
|
42
|
+
end
|
43
|
+
|
44
|
+
it "should accept other parameters" do
|
45
|
+
expected_params = "/ViewReport /Silent /Help"
|
46
|
+
@ndepend.parameters expected_params
|
47
|
+
@ndepend.extend(FailPatch)
|
48
|
+
@ndepend.execute
|
49
|
+
@log_data.should include(expected_params)
|
50
|
+
end
|
51
|
+
|
52
|
+
it "should order command line properly by including ndepend project file first" do
|
53
|
+
expected_params = "/Help"
|
54
|
+
@ndepend.parameters expected_params
|
55
|
+
@ndepend.extend(FailPatch)
|
56
|
+
@ndepend.execute
|
57
|
+
@log_data.should =~ /.*NDepend.Console.exe.*NDependProject.xml.*Help.*/
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
describe NDepend, "when providing configuration" do
|
62
|
+
let :ndepend do
|
63
|
+
Albacore.configure do |config|
|
64
|
+
config.ndepend.command = "configured"
|
65
|
+
end
|
66
|
+
ndepend = NDepend.new
|
67
|
+
end
|
68
|
+
|
69
|
+
it "should use the configured values" do
|
70
|
+
ndepend.command.should == "configured"
|
71
|
+
end
|
72
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'albacore/config/netversion'
|
3
|
+
|
4
|
+
class NetVersionTest
|
5
|
+
include Configuration::NetVersion
|
6
|
+
end
|
7
|
+
|
8
|
+
describe :NetVersion, 'when getting the win_dir' do
|
9
|
+
before do
|
10
|
+
@subject = NetVersionTest.new
|
11
|
+
@win_dir = @subject.win_dir
|
12
|
+
end
|
13
|
+
|
14
|
+
it 'should be in the system path' do
|
15
|
+
@win_dir.upcase.should eq 'C:\\WINDOWS'
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
describe :NetVersion, 'when getting the net version' do
|
20
|
+
before do
|
21
|
+
@subject = NetVersionTest.new
|
22
|
+
end
|
23
|
+
|
24
|
+
it 'should have v2.0' do
|
25
|
+
@subject.get_net_version(:net2).should include 'v2.0'
|
26
|
+
end
|
27
|
+
|
28
|
+
it 'should have v3.0' do
|
29
|
+
@subject.get_net_version(:net3).should include 'v2.0'
|
30
|
+
end
|
31
|
+
|
32
|
+
it 'should have v3.5' do
|
33
|
+
@subject.get_net_version(:net35).should include 'v3.5'
|
34
|
+
end
|
35
|
+
|
36
|
+
it 'should have v4.0' do
|
37
|
+
@subject.get_net_version(:net4).should include 'v4.0'
|
38
|
+
end
|
39
|
+
|
40
|
+
it 'should have v4.5' do
|
41
|
+
@subject.get_net_version(:net45).should include 'v4.0'
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
describe :NetVersion, 'when getting an unsupported net version' do
|
46
|
+
before do
|
47
|
+
@subject = NetVersionTest.new
|
48
|
+
end
|
49
|
+
|
50
|
+
it 'should fail' do
|
51
|
+
lambda { @subject.get_net_version :fake }.should raise_error
|
52
|
+
end
|
53
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'albacore/nugetinstall'
|
3
|
+
|
4
|
+
describe NuGetInstall do
|
5
|
+
before :each do
|
6
|
+
@nugetinstall = NuGetInstall.new
|
7
|
+
@strio = StringIO.new
|
8
|
+
@nugetinstall.log_device = @strio
|
9
|
+
@nugetinstall.log_level = :diagnostic
|
10
|
+
end
|
11
|
+
|
12
|
+
context "when no path to NuGet is specified" do
|
13
|
+
it "assumes NuGet is in the path" do
|
14
|
+
@nugetinstall.command.should == "NuGet.exe"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
it "generates the correct command-line parameters" do
|
19
|
+
@nugetinstall.package = "Hircine"
|
20
|
+
@nugetinstall.sources = "source1", "source2"
|
21
|
+
@nugetinstall.version = "0.1.1-pre"
|
22
|
+
@nugetinstall.no_cache = false
|
23
|
+
@nugetinstall.prerelease = true
|
24
|
+
@nugetinstall.exclude_version = true
|
25
|
+
@nugetinstall.output_directory = "customdir"
|
26
|
+
|
27
|
+
params = @nugetinstall.generate_params
|
28
|
+
params.should include("install")
|
29
|
+
params.should include(@nugetinstall.package)
|
30
|
+
params.should include("-Version 0.1.1-pre")
|
31
|
+
params.should include("-Source \"source1;source2\"")
|
32
|
+
params.should include("-OutputDirectory customdir")
|
33
|
+
params.should include("-ExcludeVersion")
|
34
|
+
params.should include("-Prerelease")
|
35
|
+
params.should_not include("-NoCache")
|
36
|
+
|
37
|
+
@nugetinstall.no_cache = true
|
38
|
+
params = @nugetinstall.generate_params
|
39
|
+
params.should include("-NoCache")
|
40
|
+
end
|
41
|
+
|
42
|
+
it "fails if no package is specified" do
|
43
|
+
@nugetinstall.extend(FailPatch)
|
44
|
+
@nugetinstall.generate_params
|
45
|
+
@strio.string.should include('A NuGet package must be specified.')
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'albacore/nugetupdate'
|
3
|
+
require 'albacore/config/nugetupdateconfig'
|
4
|
+
|
5
|
+
describe NuGetUpdate do
|
6
|
+
before :each do
|
7
|
+
@nugetupdate = NuGetUpdate.new
|
8
|
+
@strio = StringIO.new
|
9
|
+
@nugetupdate.log_device = @strio
|
10
|
+
@nugetupdate.log_level = :diagnostic
|
11
|
+
end
|
12
|
+
|
13
|
+
context "when no path to NuGet is specified" do
|
14
|
+
it "assumes NuGet is in the path" do
|
15
|
+
@nugetupdate.command.should == "NuGet.exe"
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
it "generates the correct command-line parameters" do
|
20
|
+
@nugetupdate.input_file = "../support/TestSolution/TestSolution.sln"
|
21
|
+
@nugetupdate.source = "source1", "source2"
|
22
|
+
@nugetupdate.id = "id1", "id2"
|
23
|
+
@nugetupdate.repository_path = "repopath"
|
24
|
+
|
25
|
+
params = @nugetupdate.get_command_parameters
|
26
|
+
params.should include(@nugetupdate.input_file)
|
27
|
+
params.should include("-Source \"source1;source2\"")
|
28
|
+
params.should include("-Id \"id1;id2\"")
|
29
|
+
params.should include("-RepositoryPath repopath")
|
30
|
+
params.should_not include("-Self")
|
31
|
+
|
32
|
+
@nugetupdate.safe = true
|
33
|
+
params = @nugetupdate.get_command_parameters
|
34
|
+
params.should include("-Safe")
|
35
|
+
end
|
36
|
+
|
37
|
+
it "fails if no input file is supplied" do
|
38
|
+
@nugetupdate.extend(FailPatch)
|
39
|
+
@nugetupdate.get_command_parameters
|
40
|
+
@strio.string.should include("An input file must be specified")
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1,115 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'albacore/nunittestrunner'
|
3
|
+
|
4
|
+
describe "nunit with paths" do
|
5
|
+
before :all do
|
6
|
+
@nunitpath = File.join(File.dirname(__FILE__), 'support', 'Tools', 'NUnit-v2.5', 'nunit-console-x86.exe')
|
7
|
+
@test_assembly = File.join(File.expand_path(File.dirname(__FILE__)), 'support', 'CodeCoverage', 'nunit', 'assemblies', 'TestSolution.Tests.dll')
|
8
|
+
@failing_test_assembly = File.join(File.expand_path(File.dirname(__FILE__)), 'support', 'CodeCoverage', 'nunit', 'failing_assemblies', 'TestSolution.FailingTests.dll')
|
9
|
+
@output_option = "/out=nunit.results.html"
|
10
|
+
end
|
11
|
+
|
12
|
+
describe NUnitTestRunner, "the command parameters for an nunit runner" do
|
13
|
+
before :all do
|
14
|
+
nunit = NUnitTestRunner.new(@nunitpath)
|
15
|
+
nunit.assemblies @test_assembly, @failing_test_assembly
|
16
|
+
nunit.options @output_option
|
17
|
+
|
18
|
+
@command_parameters = nunit.get_command_parameters
|
19
|
+
end
|
20
|
+
|
21
|
+
it "should not include the path to the command" do
|
22
|
+
@command_parameters.should_not include(@nunitpath)
|
23
|
+
end
|
24
|
+
|
25
|
+
it "should include the list of assemblies" do
|
26
|
+
@command_parameters.should include("\"#{@test_assembly}\" \"#{@failing_test_assembly}\"")
|
27
|
+
end
|
28
|
+
|
29
|
+
it "should include the list of options" do
|
30
|
+
@command_parameters.should include(@output_option)
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe NUnitTestRunner, "the command line string for an nunit runner" do
|
35
|
+
|
36
|
+
before :all do
|
37
|
+
nunit = NUnitTestRunner.new(@nunitpath)
|
38
|
+
nunit.assemblies @test_assembly
|
39
|
+
nunit.options @output_option
|
40
|
+
|
41
|
+
@command_line = nunit.get_command_line
|
42
|
+
@command_parameters = nunit.get_command_parameters.join(" ")
|
43
|
+
end
|
44
|
+
|
45
|
+
it "should start with the path to the command" do
|
46
|
+
@command_line.split(" ").first.should == @nunitpath
|
47
|
+
end
|
48
|
+
|
49
|
+
it "should include the command parameters" do
|
50
|
+
@command_line.should include(@command_parameters)
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
|
55
|
+
describe NUnitTestRunner, "when configured correctly" do
|
56
|
+
|
57
|
+
before :all do
|
58
|
+
nunit = NUnitTestRunner.new(@nunitpath)
|
59
|
+
nunit.extend(FailPatch)
|
60
|
+
nunit.assemblies @test_assembly
|
61
|
+
nunit.options '/noshadow'
|
62
|
+
|
63
|
+
nunit.execute
|
64
|
+
end
|
65
|
+
|
66
|
+
it "should execute" do
|
67
|
+
$task_failed.should be_false
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
describe NUnitTestRunner, "when using the configuration command and not providing a command in the intializer" do
|
72
|
+
|
73
|
+
before :all do
|
74
|
+
Albacore.configure do |config|
|
75
|
+
config.nunit.command = "configured command"
|
76
|
+
end
|
77
|
+
@nunit = NUnitTestRunner.new
|
78
|
+
end
|
79
|
+
|
80
|
+
it "should use the configuration command" do
|
81
|
+
@nunit.command.should == "configured command"
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
describe NUnitTestRunner, "when the command has been set through configuration and providing a command in the intializer" do
|
86
|
+
|
87
|
+
before :all do
|
88
|
+
Albacore.configure do |config|
|
89
|
+
config.nunit.command = "configured command"
|
90
|
+
end
|
91
|
+
@nunit = NUnitTestRunner.new("initializer command")
|
92
|
+
end
|
93
|
+
|
94
|
+
it "should use the initializer command" do
|
95
|
+
@nunit.command.should == "initializer command"
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
99
|
+
describe NUnitTestRunner, "when configuration has been provided" do
|
100
|
+
before :all do
|
101
|
+
Albacore.configure do |config|
|
102
|
+
config.nunit do |nunit|
|
103
|
+
nunit.assemblies = ["foo.dll", "bar.dll"]
|
104
|
+
nunit.options = ["/noshadow"]
|
105
|
+
end
|
106
|
+
end
|
107
|
+
|
108
|
+
@nunit = NUnitTestRunner.new
|
109
|
+
end
|
110
|
+
|
111
|
+
it "should use the provided configuration" do
|
112
|
+
@nunit.assemblies.should == ["foo.dll", "bar.dll"]
|
113
|
+
@nunit.options.should == ["/noshadow"]
|
114
|
+
end
|
115
|
+
end
|
data/spec/nuspec_spec.rb
ADDED
@@ -0,0 +1,127 @@
|
|
1
|
+
require 'fileutils'
|
2
|
+
require 'spec_helper.rb'
|
3
|
+
require 'albacore/nuspec.rb'
|
4
|
+
require 'support/nokogiri_validator'
|
5
|
+
|
6
|
+
describe Nuspec do
|
7
|
+
let(:working_dir) do
|
8
|
+
wd = File.expand_path(File.join(File.dirname(__FILE__), 'support/nuspec/output'))
|
9
|
+
FileUtils.mkdir(wd) unless File.exist?(wd)
|
10
|
+
wd
|
11
|
+
end
|
12
|
+
let(:nuspec_output) { File.join(working_dir, 'nuspec_test.nuspec') }
|
13
|
+
let(:schema_file) { File.expand_path(File.join(working_dir, '../', 'nuspec.xsd')) }
|
14
|
+
|
15
|
+
describe 'when creating a file with minimum requirements' do
|
16
|
+
let(:nuspec) do
|
17
|
+
nuspec = Nuspec.new
|
18
|
+
nuspec.id="nuspec_test"
|
19
|
+
nuspec.output_file = "nuspec_test.nuspec"
|
20
|
+
nuspec.version = "1.2.3"
|
21
|
+
nuspec.authors = "Author Name"
|
22
|
+
nuspec.description = "test_xml_document"
|
23
|
+
nuspec.copyright = "copyright 2011"
|
24
|
+
nuspec.working_directory = working_dir
|
25
|
+
nuspec
|
26
|
+
end
|
27
|
+
|
28
|
+
before do
|
29
|
+
nuspec.execute
|
30
|
+
end
|
31
|
+
|
32
|
+
it "should produce the nuspec xml" do
|
33
|
+
File.exist?(nuspec_output).should be_true
|
34
|
+
end
|
35
|
+
|
36
|
+
it "should produce a valid xml file" do
|
37
|
+
is_valid = XmlValidator.validate(nuspec_output, schema_file)
|
38
|
+
is_valid.should be_true
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
describe "file targets" do
|
43
|
+
let(:dll) { File.expand_path(File.join(working_dir, '../', 'somedll.dll')) }
|
44
|
+
|
45
|
+
let(:nuspec) do
|
46
|
+
nuspec = Nuspec.new
|
47
|
+
nuspec.id="nuspec_test"
|
48
|
+
nuspec.output_file = "nuspec_test.nuspec"
|
49
|
+
nuspec.title = "Title"
|
50
|
+
nuspec.version = "1.2.3"
|
51
|
+
nuspec.authors = "Author Name"
|
52
|
+
nuspec.description = "test_xml_document"
|
53
|
+
nuspec.copyright = "copyright 2011"
|
54
|
+
nuspec.working_directory = working_dir
|
55
|
+
nuspec.file(dll, "lib")
|
56
|
+
nuspec.file(dll, "lib\\net40", "*.xml")
|
57
|
+
nuspec
|
58
|
+
end
|
59
|
+
|
60
|
+
before do
|
61
|
+
nuspec.execute
|
62
|
+
File.open(nuspec_output, "r") do |f|
|
63
|
+
@filedata = f.read
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
it "should produce a valid nuspec file" do
|
68
|
+
is_valid = XmlValidator.validate(nuspec_output, schema_file)
|
69
|
+
is_valid.should be_true
|
70
|
+
end
|
71
|
+
|
72
|
+
it "should contain the file and it's target" do
|
73
|
+
@filedata.downcase.should include("<file src='#{dll}' target='lib'/>".downcase)
|
74
|
+
end
|
75
|
+
|
76
|
+
it "should contain the file and it's target and an exclude" do
|
77
|
+
@filedata.should include("<file exclude='*.xml' src='#{dll}' target='lib\\net40'/>")
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
describe "references" do
|
82
|
+
let(:dll) { File.expand_path(File.join(working_dir, '../', 'somedll.dll')) }
|
83
|
+
|
84
|
+
let(:nuspec) do
|
85
|
+
nuspec = Nuspec.new
|
86
|
+
nuspec.id="nuspec_test"
|
87
|
+
nuspec.output_file = "nuspec_test.nuspec"
|
88
|
+
nuspec.title = "Title"
|
89
|
+
nuspec.version = "1.2.3"
|
90
|
+
nuspec.authors = "Author Name"
|
91
|
+
nuspec.description = "test_xml_document"
|
92
|
+
nuspec.copyright = "copyright 2011"
|
93
|
+
nuspec.working_directory = working_dir
|
94
|
+
nuspec.reference("testFile1")
|
95
|
+
nuspec.reference("testFile2")
|
96
|
+
nuspec
|
97
|
+
end
|
98
|
+
|
99
|
+
before do
|
100
|
+
nuspec.execute
|
101
|
+
File.open(nuspec_output, "r") do |f|
|
102
|
+
@filedata = f.read
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
it "should produce a valid nuspec file" do
|
107
|
+
is_valid = XmlValidator.validate(nuspec_output, schema_file)
|
108
|
+
is_valid.should be_true
|
109
|
+
end
|
110
|
+
|
111
|
+
it "should contain references tag" do
|
112
|
+
@filedata.downcase.should include("<references>".downcase)
|
113
|
+
end
|
114
|
+
|
115
|
+
it "should contain references closing tag" do
|
116
|
+
@filedata.downcase.should include("</references>".downcase)
|
117
|
+
end
|
118
|
+
|
119
|
+
it "should contain the test file 1" do
|
120
|
+
@filedata.downcase.should include("<reference file='testFile1'/>".downcase)
|
121
|
+
end
|
122
|
+
|
123
|
+
it "should contain the 2nd test file" do
|
124
|
+
@filedata.downcase.should include("<reference file='testFile2'/>".downcase)
|
125
|
+
end
|
126
|
+
end
|
127
|
+
end
|