albacore 1.0.0.rc.2 → 1.0.0.rc.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +1 -1
- data/Guardfile +0 -9
- data/README.md +4 -4
- data/Rakefile +9 -14
- data/albacore.gemspec +29 -31
- data/lib/albacore.rb +22 -15
- data/lib/albacore/aspnetcompiler.rb +66 -44
- data/lib/albacore/assemblyinfo.rb +101 -120
- data/lib/albacore/assemblyinfolanguages/assemblyinfoengine.rb +13 -0
- data/lib/albacore/config/aspnetcompilerconfig.rb +5 -4
- data/lib/albacore/config/assemblyinfoconfig.rb +2 -4
- data/lib/albacore/config/cscconfig.rb +3 -3
- data/lib/albacore/config/docuconfig.rb +4 -8
- data/lib/albacore/config/execconfig.rb +9 -5
- data/lib/albacore/config/fluentmigratorconfig.rb +19 -0
- data/lib/albacore/config/ilmergeconfig.rb +5 -10
- data/lib/albacore/config/msbuildconfig.rb +3 -3
- data/lib/albacore/config/mspecconfig.rb +19 -0
- data/lib/albacore/config/mstestconfig.rb +19 -0
- data/lib/albacore/config/nantconfig.rb +9 -6
- data/lib/albacore/config/nchurnconfig.rb +9 -5
- data/lib/albacore/config/ncoverconsoleconfig.rb +9 -5
- data/lib/albacore/config/ncoverreportconfig.rb +9 -6
- data/lib/albacore/config/ndependconfig.rb +9 -5
- data/lib/albacore/config/netversion.rb +10 -6
- data/lib/albacore/config/nugetinstallconfig.rb +18 -0
- data/lib/albacore/config/nugetpackconfig.rb +2 -3
- data/lib/albacore/config/nugetpushconfig.rb +5 -6
- data/lib/albacore/config/nugetupdateconfig.rb +2 -3
- data/lib/albacore/config/nunitconfig.rb +19 -0
- data/lib/albacore/config/nuspecconfig.rb +18 -0
- data/lib/albacore/config/plinkconfig.rb +18 -0
- data/lib/albacore/config/specflowconfig.rb +18 -0
- data/lib/albacore/config/sqlcmdconfig.rb +9 -6
- data/lib/albacore/config/unzipconfig.rb +9 -5
- data/lib/albacore/config/xbuildconfig.rb +9 -6
- data/lib/albacore/config/xunitconfig.rb +18 -0
- data/lib/albacore/config/zipdirectoryconfig.rb +9 -6
- data/lib/albacore/csc.rb +56 -46
- data/lib/albacore/docu.rb +20 -23
- data/lib/albacore/exec.rb +8 -6
- data/lib/albacore/fluentmigrator.rb +69 -0
- data/lib/albacore/ilmerge.rb +23 -50
- data/lib/albacore/msbuild.rb +36 -59
- data/lib/albacore/mspec.rb +39 -0
- data/lib/albacore/mstest.rb +47 -0
- data/lib/albacore/nant.rb +23 -20
- data/lib/albacore/nchurn.rb +34 -59
- data/lib/albacore/ncoverconsole.rb +38 -50
- data/lib/albacore/ncoverreport.rb +24 -46
- data/lib/albacore/ncoverreports.rb +16 -0
- data/lib/albacore/ncoverreports/codecoveragebase.rb +8 -6
- data/lib/albacore/ncoverreports/cyclomaticcomplexity.rb +3 -3
- data/lib/albacore/ncoverreports/fullcoveragereport.rb +5 -9
- data/lib/albacore/ncoverreports/reportbase.rb +23 -0
- data/lib/albacore/ncoverreports/reportfilterbase.rb +10 -7
- data/lib/albacore/ncoverreports/summaryreport.rb +5 -14
- data/lib/albacore/ndepend.rb +17 -17
- data/lib/albacore/nugetinstall.rb +48 -43
- data/lib/albacore/nugetpack.rb +33 -37
- data/lib/albacore/nugetpush.rb +25 -31
- data/lib/albacore/nugetupdate.rb +28 -29
- data/lib/albacore/nunit.rb +46 -0
- data/lib/albacore/nuspec.rb +79 -77
- data/lib/albacore/output.rb +77 -80
- data/lib/albacore/plink.rb +35 -32
- data/lib/albacore/specflow.rb +30 -0
- data/lib/albacore/sqlcmd.rb +46 -61
- data/lib/albacore/support/platform.rb +25 -0
- data/lib/albacore/unzip.rb +42 -34
- data/lib/albacore/version.rb +1 -1
- data/lib/albacore/xbuild.rb +25 -38
- data/lib/albacore/xunit.rb +44 -0
- data/lib/albacore/zipdirectory.rb +106 -107
- data/spec/albacoremodel_spec.rb +52 -53
- data/spec/aspnetcompiler_spec.rb +84 -0
- data/spec/{support/TestSolution/TestSolution/Properties → assemblyinfo}/AssemblyInfo.cs +36 -36
- data/spec/assemblyinfo_spec.rb +209 -477
- data/spec/attrmethods_spec.rb +135 -136
- data/spec/config_spec.rb +32 -34
- data/spec/createtask_spec.rb +234 -237
- data/spec/csc_spec.rb +86 -253
- data/spec/docu_spec.rb +31 -109
- data/spec/exec_spec.rb +25 -45
- data/spec/fluentmigrator_spec.rb +88 -0
- data/spec/ilmerge_spec.rb +21 -79
- data/spec/msbuild_spec.rb +55 -287
- data/spec/mspec_spec.rb +30 -28
- data/spec/mstest_spec.rb +35 -0
- data/spec/nant_spec.rb +40 -110
- data/spec/nchurn_spec.rb +80 -75
- data/spec/ncoverconsole_spec.rb +80 -353
- data/spec/ncoverreport_spec.rb +139 -619
- data/spec/ndepend_spec.rb +26 -72
- data/spec/netversion_spec.rb +51 -53
- data/spec/nugetinstall_spec.rb +59 -47
- data/spec/nugetpack_spec.rb +49 -0
- data/spec/nugetpush_spec.rb +39 -0
- data/spec/nugetupdate_spec.rb +49 -42
- data/spec/nunit_spec.rb +35 -0
- data/spec/{support/nuspec → nuspec}/nuspec.xsd +0 -0
- data/spec/nuspec_spec.rb +74 -127
- data/spec/output/bar/bar.txt +0 -0
- data/spec/output/baz.txt +0 -0
- data/spec/output/erb.txt +1 -0
- data/spec/output/foo/foo/foo.txt +0 -0
- data/spec/output_spec.rb +67 -147
- data/spec/patch/system_patch.rb +12 -0
- data/spec/platform_spec.rb +15 -0
- data/spec/plink_spec.rb +56 -62
- data/spec/runcommand_spec.rb +92 -94
- data/spec/spec_helper.rb +20 -16
- data/spec/specflow_spec.rb +30 -0
- data/spec/sqlcmd_spec.rb +66 -334
- data/spec/unzip_spec.rb +1 -2
- data/spec/xbuild_spec.rb +40 -15
- data/spec/xunit_spec.rb +30 -200
- data/spec/yaml/test.yml +3 -0
- data/spec/yamlconfig_spec.rb +53 -49
- data/spec/zip/baz.txt +0 -0
- data/spec/zip/foo/bar/bar.txt +0 -0
- data/spec/zip/foo/foo.txt +0 -0
- data/spec/zip_spec.rb +63 -187
- metadata +78 -1098
- checksums.yaml +0 -7
- data/.rvmrc +0 -1
- data/lib/albacore/config/fluentmigratorrunnerconfig.rb +0 -15
- data/lib/albacore/config/msdeployconfig.rb +0 -15
- data/lib/albacore/config/mspectestrunnerconfig.rb +0 -15
- data/lib/albacore/config/mstesttestrunnerconfig.rb +0 -15
- data/lib/albacore/config/nugetpublishconfig.rb +0 -19
- data/lib/albacore/config/nunittestrunnerconfig.rb +0 -14
- data/lib/albacore/config/specflowreportconfig.rb +0 -24
- data/lib/albacore/config/vssgetconfig.rb +0 -14
- data/lib/albacore/config/xunittestrunnerconfig.rb +0 -15
- data/lib/albacore/fluentmigratorrunner.rb +0 -52
- data/lib/albacore/msdeploy.rb +0 -122
- data/lib/albacore/mspectestrunner.rb +0 -50
- data/lib/albacore/mstesttestrunner.rb +0 -43
- data/lib/albacore/nugetpublish.rb +0 -47
- data/lib/albacore/nunittestrunner.rb +0 -41
- data/lib/albacore/specflowreport.rb +0 -62
- data/lib/albacore/support/supportlinux.rb +0 -21
- data/lib/albacore/vssget.rb +0 -44
- data/lib/albacore/xunittestrunner.rb +0 -56
- data/samples/Rakefile +0 -154
- data/spec/README.md +0 -9
- data/spec/assemblyinfo_contexts.rb +0 -52
- data/spec/fluentmigratorrunner_spec.rb +0 -263
- data/spec/msdeploy_spec.rb +0 -124
- data/spec/mstesttestrunner_spec.rb +0 -144
- data/spec/nunittestrunner_spec.rb +0 -115
- data/spec/patches/docu_patch.rb +0 -13
- data/spec/patches/fail_patch.rb +0 -9
- data/spec/patches/system_patch.rb +0 -20
- data/spec/spec.opts +0 -1
- data/spec/specflowreport_spec.rb +0 -143
- data/spec/support/AssemblyInfo/AssemblyInfo.test +0 -6
- data/spec/support/AssemblyInfo/AssemblyInfoInput.test +0 -9
- data/spec/support/AssemblyInfo/assemblyinfo.yml +0 -2
- 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 +0 -4578
- 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 +0 -2604
- 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 +0 -5
- data/spec/support/TestSolution/NDependProject.xml +0 -315
- data/spec/support/TestSolution/TestSolution.5.0.ReSharper.user +0 -27
- data/spec/support/TestSolution/TestSolution.FailingTests/FailingTestFixture.cs +0 -19
- data/spec/support/TestSolution/TestSolution.FailingTests/Properties/AssemblyInfo.cs +0 -36
- data/spec/support/TestSolution/TestSolution.FailingTests/TestSolution.FailingTests.csproj +0 -101
- data/spec/support/TestSolution/TestSolution.FluentMigrator/M001_SampleMigration.cs +0 -19
- data/spec/support/TestSolution/TestSolution.FluentMigrator/Properties/AssemblyInfo.cs +0 -36
- data/spec/support/TestSolution/TestSolution.FluentMigrator/TestSolution.FluentMigrator.csproj +0 -101
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy.sln +0 -20
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/About.aspx +0 -13
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/About.aspx.cs +0 -17
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/About.aspx.designer.cs +0 -17
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/ChangePassword.aspx +0 -60
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/ChangePassword.aspx.cs +0 -17
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/ChangePassword.aspx.designer.cs +0 -26
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/ChangePasswordSuccess.aspx +0 -13
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/ChangePasswordSuccess.aspx.cs +0 -17
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/ChangePasswordSuccess.aspx.designer.cs +0 -17
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/Login.aspx +0 -49
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/Login.aspx.cs +0 -17
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/Login.aspx.designer.cs +0 -35
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/Register.aspx +0 -75
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/Register.aspx.cs +0 -32
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/Register.aspx.designer.cs +0 -35
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/Web.config +0 -18
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Default.aspx +0 -17
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Default.aspx.cs +0 -17
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Default.aspx.designer.cs +0 -17
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Global.asax +0 -1
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Global.asax.cs +0 -47
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Properties/AssemblyInfo.cs +0 -35
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Scripts/jquery-1.4.1-vsdoc.js +0 -8061
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Scripts/jquery-1.4.1.js +0 -6111
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Scripts/jquery-1.4.1.min.js +0 -167
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Site.Master +0 -51
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Site.Master.cs +0 -17
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Site.Master.designer.cs +0 -71
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Styles/Site.css +0 -294
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/TestSolution.MSDeploy.Publish.xml +0 -2
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/TestSolution.MSDeploy.csproj +0 -163
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Web.Debug.config +0 -30
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Web.Release.config +0 -31
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Web.config +0 -52
- data/spec/support/TestSolution/TestSolution.MSTestTests.NET40/Properties/AssemblyInfo.cs +0 -36
- data/spec/support/TestSolution/TestSolution.MSTestTests.NET40/TestSolution.MSTestTests.NET40.csproj +0 -53
- data/spec/support/TestSolution/TestSolution.MSTestTests.NET40/Tests.cs +0 -20
- data/spec/support/TestSolution/TestSolution.MSTestTests/Properties/AssemblyInfo.cs +0 -35
- data/spec/support/TestSolution/TestSolution.MSTestTests/TestSolution.MSTestTests.csproj +0 -97
- data/spec/support/TestSolution/TestSolution.MSTestTests/Tests.cs +0 -20
- data/spec/support/TestSolution/TestSolution.MSpecTests/Properties/AssemblyInfo.cs +0 -36
- data/spec/support/TestSolution/TestSolution.MSpecTests/SomeSpecTest.cs +0 -18
- data/spec/support/TestSolution/TestSolution.MSpecTests/TestSolution.MSpecTests.csproj +0 -110
- data/spec/support/TestSolution/TestSolution.SpecFlow/OneFeature.feature +0 -8
- data/spec/support/TestSolution/TestSolution.SpecFlow/OneFeature.feature.cs +0 -73
- data/spec/support/TestSolution/TestSolution.SpecFlow/Properties/AssemblyInfo.cs +0 -36
- data/spec/support/TestSolution/TestSolution.SpecFlow/StepDefinition.cs +0 -30
- data/spec/support/TestSolution/TestSolution.SpecFlow/TestSolution.SpecFlow.csproj +0 -122
- data/spec/support/TestSolution/TestSolution.Tests/Properties/AssemblyInfo.cs +0 -36
- data/spec/support/TestSolution/TestSolution.Tests/SomeTestFixture.cs +0 -23
- data/spec/support/TestSolution/TestSolution.Tests/TestSolution.Tests.csproj +0 -107
- data/spec/support/TestSolution/TestSolution.XUnitTests/Class1.cs +0 -20
- data/spec/support/TestSolution/TestSolution.XUnitTests/FailingTestFixture.cs +0 -14
- data/spec/support/TestSolution/TestSolution.XUnitTests/Properties/AssemblyInfo.cs +0 -36
- data/spec/support/TestSolution/TestSolution.XUnitTests/TestSolution.XUnitTests.csproj +0 -108
- data/spec/support/TestSolution/TestSolution.build +0 -25
- data/spec/support/TestSolution/TestSolution.sln +0 -75
- data/spec/support/TestSolution/TestSolution.vsmdi +0 -6
- data/spec/support/TestSolution/TestSolution/Class1.cs +0 -17
- data/spec/support/TestSolution/TestSolution/TestSolution.csproj +0 -97
- 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 +0 -6
- data/spec/support/Tools/FluentMigrator-0.9/Moq.dll +0 -0
- data/spec/support/Tools/FluentMigrator-0.9/Moq.xml +0 -3467
- 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 +0 -14880
- 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 +0 -1
- 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 +0 -31
- 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 +0 -296
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestExcelAddIn.vsto +0 -150
- 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 +0 -5
- 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 +0 -504
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.4.1.bat +0 -5
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.4.5.bat +0 -5
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.5.0 - VS2008.bat +0 -5
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.5.0 - VS2010.bat +0 -5
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.5.1 - VS2008.bat +0 -5
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.5.1 - VS2010.bat +0 -5
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.6.0 - VS2008.bat +0 -5
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.6.0 - VS2010.bat +0 -5
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.6.1 - VS2008.bat +0 -5
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.6.1 - VS2010.bat +0 -5
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallTDNetRunner.bat +0 -16
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallTDNetRunnerSilent.bat +0 -16
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/License.txt +0 -54
- 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 +0 -43
- 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 +0 -5
- 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 +0 -6
- 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 +0 -6
- 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 +0 -6
- 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 +0 -340
- data/spec/support/Tools/NAnt-0.85/README.txt +0 -144
- data/spec/support/Tools/NChurn-v0.4/LICENSE.txt +0 -133
- data/spec/support/Tools/NChurn-v0.4/NChurn.exe +0 -0
- data/spec/support/Tools/NChurn-v0.4/README.md +0 -171
- data/spec/support/Tools/NChurn-v0.4/VERSION +0 -1
- data/spec/support/Tools/NChurn-v0.4/churn-0.4.0.0.txt +0 -178
- data/spec/support/Tools/NCover-v3.3/ActiproEULA.hml +0 -287
- 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 +0 -237
- data/spec/support/Tools/NCover-v3.3/Build Task Plugins/MSBuildReportingExample.proj +0 -224
- data/spec/support/Tools/NCover-v3.3/Build Task Plugins/NAntNCoverExample.build +0 -241
- data/spec/support/Tools/NCover-v3.3/Build Task Plugins/NAntReportingExample.build +0 -218
- 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 +0 -2313
- data/spec/support/Tools/NCover-v3.3/CC.Net/dashboard.config +0 -55
- data/spec/support/Tools/NCover-v3.3/CC.Net/excanvas.js +0 -35
- 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 +0 -19
- data/spec/support/Tools/NCover-v3.3/CC.Net/r.png +0 -0
- data/spec/support/Tools/NCover-v3.3/CC.Net/readme.txt +0 -51
- data/spec/support/Tools/NCover-v3.3/CC.Net/trends.js +0 -184
- 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 +0 -13
- 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 +0 -55
- 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 +0 -16
- 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 +0 -213
- data/spec/support/Tools/NCover-v3.3/System.Data.SQLite.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/EULA_NDepend.txt +0 -94
- 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 +0 -3
- 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 +0 -8
- data/spec/support/Tools/NDepend-v2.12/QuickStartTutorial_NDepend.txt +0 -152
- data/spec/support/Tools/NDepend-v2.12/VisualNDepend.exe +0 -0
- data/spec/support/Tools/NUnit-v2.5/NUnitFitTests.html +0 -277
- data/spec/support/Tools/NUnit-v2.5/NUnitTests.config +0 -84
- data/spec/support/Tools/NUnit-v2.5/NUnitTests.nunit +0 -14
- data/spec/support/Tools/NUnit-v2.5/TestResult.xml +0 -32
- data/spec/support/Tools/NUnit-v2.5/agent.conf +0 -4
- data/spec/support/Tools/NUnit-v2.5/agent.log.conf +0 -18
- data/spec/support/Tools/NUnit-v2.5/clr.bat +0 -96
- data/spec/support/Tools/NUnit-v2.5/framework/nunit.framework.dll +0 -0
- data/spec/support/Tools/NUnit-v2.5/framework/nunit.framework.xml +0 -10088
- 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 +0 -18
- 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 +0 -87
- 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 +0 -87
- data/spec/support/Tools/NUnit-v2.5/nunit-console.exe +0 -0
- data/spec/support/Tools/NUnit-v2.5/nunit-console.exe.config +0 -87
- data/spec/support/Tools/NUnit-v2.5/nunit-x86.exe +0 -0
- data/spec/support/Tools/NUnit-v2.5/nunit-x86.exe.config +0 -95
- data/spec/support/Tools/NUnit-v2.5/nunit.exe +0 -0
- data/spec/support/Tools/NUnit-v2.5/nunit.exe.config +0 -95
- 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 +0 -87
- data/spec/support/Tools/NUnit-v2.5/pnunit-launcher.exe +0 -0
- data/spec/support/Tools/NUnit-v2.5/pnunit-launcher.exe.config +0 -87
- 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 +0 -43
- data/spec/support/Tools/NUnit-v2.5/runpnunit.bat +0 -2
- data/spec/support/Tools/NUnit-v2.5/test.conf +0 -24
- data/spec/support/Tools/PartCover-v2.3/Interop.PartCover.dll +0 -0
- data/spec/support/Tools/PartCover-v2.3/PartCover Browser Manual.rtf +0 -28853
- data/spec/support/Tools/PartCover-v2.3/PartCover Console Manual.rtf +0 -203
- 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 +0 -51
- 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 +0 -4
- 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 +0 -54
- data/spec/support/Tools/PartCover-v2.3/xslt/Report By Class.xslt +0 -52
- 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 +0 -58
- data/spec/support/Tools/SpecFlow/TechTalk.SpecFlow.tasks +0 -17
- data/spec/support/Tools/SpecFlow/changelog.txt +0 -50
- data/spec/support/Tools/SpecFlow/specflow.exe +0 -0
- data/spec/support/Tools/XUnit-v1.9/EULA.txt +0 -29
- data/spec/support/Tools/XUnit-v1.9/HTML.xslt +0 -126
- data/spec/support/Tools/XUnit-v1.9/NUnitXml.xslt +0 -121
- 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 +0 -21
- 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 +0 -21
- data/spec/support/Tools/XUnit-v1.9/xunit.console.exe +0 -0
- data/spec/support/Tools/XUnit-v1.9/xunit.console.exe.config +0 -21
- 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 +0 -21
- data/spec/support/Tools/XUnit-v1.9/xunit.dll +0 -0
- data/spec/support/Tools/XUnit-v1.9/xunit.dll.tdnet +0 -5
- data/spec/support/Tools/XUnit-v1.9/xunit.extensions.dll +0 -0
- data/spec/support/Tools/XUnit-v1.9/xunit.extensions.xml +0 -805
- 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 +0 -1212
- data/spec/support/Tools/XUnit-v1.9/xunit.xml +0 -2604
- data/spec/support/assemblyinfotester.rb +0 -52
- data/spec/support/csc/File1.cs +0 -9
- data/spec/support/csc/File2.cs +0 -9
- data/spec/support/csc/output/ignorethis.txt +0 -1
- data/spec/support/ironruby_validator.rb +0 -26
- data/spec/support/msbuildtestdata.rb +0 -32
- data/spec/support/nanttestdata.rb +0 -33
- data/spec/support/ncoverconsoletestdata.rb +0 -20
- data/spec/support/ncoverreporttestdata.rb +0 -26
- data/spec/support/nokogiri_validator.rb +0 -15
- data/spec/support/outputtestdata.rb +0 -13
- data/spec/support/test.yml +0 -4
- data/spec/support/yamlconfig/msbuild.yml +0 -5
- data/spec/support/yamlconfig/yaml_autoconfig_test.yml +0 -1
- data/spec/support/zip/files/subfolder/sub file.txt +0 -1
- data/spec/support/zip/files/testfile.txt +0 -1
- data/spec/support/ziptestdata.rb +0 -13
data/spec/unzip_spec.rb
CHANGED
data/spec/xbuild_spec.rb
CHANGED
@@ -1,15 +1,40 @@
|
|
1
|
-
require
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
describe XBuild do
|
4
|
+
subject(:task) do
|
5
|
+
task = XBuild.new()
|
6
|
+
task.extend(SystemPatch)
|
7
|
+
task.command = "xbuild"
|
8
|
+
task.solution = "solution"
|
9
|
+
task.verbosity = "minimal"
|
10
|
+
task.targets = [:clean, :build]
|
11
|
+
task.properties = {:foo => "foo", :bar => "bar"}
|
12
|
+
task
|
13
|
+
end
|
14
|
+
|
15
|
+
let(:cmd) { task.system_command }
|
16
|
+
|
17
|
+
before :each do
|
18
|
+
task.execute
|
19
|
+
end
|
20
|
+
|
21
|
+
it "should use the command" do
|
22
|
+
cmd.should include("xbuild")
|
23
|
+
end
|
24
|
+
|
25
|
+
it "should build the solution" do
|
26
|
+
cmd.should include("\"solution\"")
|
27
|
+
end
|
28
|
+
|
29
|
+
it "should be verbose" do
|
30
|
+
cmd.should include("/verbosity:minimal")
|
31
|
+
end
|
32
|
+
|
33
|
+
it "should use the targets" do
|
34
|
+
cmd.should include("/target:clean;build")
|
35
|
+
end
|
36
|
+
|
37
|
+
it "should set the properties" do
|
38
|
+
cmd.should include("/p:foo=\"foo\" /p:bar=\"bar\"")
|
39
|
+
end
|
40
|
+
end
|
data/spec/xunit_spec.rb
CHANGED
@@ -1,200 +1,30 @@
|
|
1
|
-
require
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
end
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
end
|
30
|
-
|
31
|
-
describe XUnitTestRunner, "the command line string for an xunit runner" do
|
32
|
-
before :all do
|
33
|
-
xunit = XUnitTestRunner.new(@xunitpath)
|
34
|
-
xunit.assembly = @test_assembly
|
35
|
-
xunit.options @output_option
|
36
|
-
|
37
|
-
@command_line = xunit.get_command_line
|
38
|
-
@command_parameters = xunit.get_command_parameters.join(" ")
|
39
|
-
end
|
40
|
-
|
41
|
-
it "should start with the path to the command" do
|
42
|
-
@command_line.split(" ").first.should == @xunitpath
|
43
|
-
end
|
44
|
-
|
45
|
-
it "should include the command parameters" do
|
46
|
-
@command_line.should include(@command_parameters)
|
47
|
-
end
|
48
|
-
end
|
49
|
-
|
50
|
-
describe XUnitTestRunner, "when configured correctly" do
|
51
|
-
before :all do
|
52
|
-
xunit = XUnitTestRunner.new(@xunitpath)
|
53
|
-
xunit.assembly = @test_assembly
|
54
|
-
xunit.options '/noshadow /trait "type=passing"'
|
55
|
-
xunit.extend(FailPatch)
|
56
|
-
xunit.log_level = :verbose
|
57
|
-
|
58
|
-
xunit.execute
|
59
|
-
end
|
60
|
-
|
61
|
-
it "should execute" do
|
62
|
-
$task_failed.should be_false
|
63
|
-
end
|
64
|
-
end
|
65
|
-
|
66
|
-
describe XUnitTestRunner, "when multiple assemblies are passed to xunit runner" do
|
67
|
-
before :all do
|
68
|
-
xunit = XUnitTestRunner.new(@xunitpath)
|
69
|
-
xunit.assemblies = @test_assembly, @test_assembly
|
70
|
-
xunit.options '/noshadow /trait "type=passing"'
|
71
|
-
xunit.extend(FailPatch)
|
72
|
-
xunit.log_level = :verbose
|
73
|
-
|
74
|
-
xunit.execute
|
75
|
-
end
|
76
|
-
|
77
|
-
it "should execute" do
|
78
|
-
$task_failed.should be_false
|
79
|
-
end
|
80
|
-
end
|
81
|
-
|
82
|
-
describe XUnitTestRunner, "when zero assemblies are passed to xunit runner" do
|
83
|
-
before :all do
|
84
|
-
xunit = XUnitTestRunner.new(@xunitpath)
|
85
|
-
xunit.options '/noshadow'
|
86
|
-
xunit.extend(FailPatch)
|
87
|
-
|
88
|
-
xunit.execute
|
89
|
-
end
|
90
|
-
|
91
|
-
it "should fail" do
|
92
|
-
$task_failed.should be_true
|
93
|
-
end
|
94
|
-
end
|
95
|
-
|
96
|
-
describe XUnitTestRunner, 'when skipping test fail' do
|
97
|
-
before :all do
|
98
|
-
xunit = XUnitTestRunner.new @xunitpath
|
99
|
-
|
100
|
-
xunit.extend FailPatch
|
101
|
-
xunit.extend SystemPatch
|
102
|
-
xunit.disable_system = true
|
103
|
-
|
104
|
-
xunit.assembly = 'xyz'
|
105
|
-
xunit.skip_test_fail = true
|
106
|
-
|
107
|
-
xunit.execute
|
108
|
-
end
|
109
|
-
|
110
|
-
it 'should not fail' do
|
111
|
-
$task_failed.should be_false
|
112
|
-
end
|
113
|
-
end
|
114
|
-
|
115
|
-
describe XUnitTestRunner, 'when skipping test failures' do
|
116
|
-
before :all do
|
117
|
-
xunit = XUnitTestRunner.new @xunitpath
|
118
|
-
|
119
|
-
xunit.extend FailPatch
|
120
|
-
xunit.extend SystemPatch
|
121
|
-
xunit.disable_system = true
|
122
|
-
|
123
|
-
xunit.assembly = 'xyz'
|
124
|
-
xunit.skip_test_failures
|
125
|
-
|
126
|
-
xunit.execute
|
127
|
-
end
|
128
|
-
|
129
|
-
it 'should not fail' do
|
130
|
-
$task_failed.should be_false
|
131
|
-
end
|
132
|
-
end
|
133
|
-
|
134
|
-
describe XUnitTestRunner, "when html_output is specified" do
|
135
|
-
before :each do
|
136
|
-
FileUtils.mkdir @working_dir unless File.exist?(@working_dir)
|
137
|
-
xunit = XUnitTestRunner.new(@xunitpath)
|
138
|
-
xunit.assembly = @test_assembly
|
139
|
-
xunit.html_output = File.dirname(@html_output)
|
140
|
-
xunit.extend(FailPatch)
|
141
|
-
xunit.options '/noshadow /trait "type=passing"'
|
142
|
-
|
143
|
-
xunit.execute
|
144
|
-
end
|
145
|
-
|
146
|
-
it "should execute" do
|
147
|
-
$task_failed.should be_false
|
148
|
-
end
|
149
|
-
|
150
|
-
it "should write output html" do
|
151
|
-
sleep(2)
|
152
|
-
File.exist?(@html_output).should be_true
|
153
|
-
end
|
154
|
-
|
155
|
-
after:each do
|
156
|
-
FileUtils.rm_r @working_dir if File.exist? @working_dir
|
157
|
-
end
|
158
|
-
end
|
159
|
-
|
160
|
-
describe XUnitTestRunner, "when html_output is not a directory" do
|
161
|
-
before :each do
|
162
|
-
FileUtils.mkdir @working_dir unless File.exist?(@working_dir)
|
163
|
-
strio = StringIO.new
|
164
|
-
xunit = XUnitTestRunner.new(@xunitpath)
|
165
|
-
xunit.log_level = :verbose
|
166
|
-
xunit.log_device = strio
|
167
|
-
xunit.assembly = @test_assembly
|
168
|
-
xunit.html_output = @html_output
|
169
|
-
xunit.extend(FailPatch)
|
170
|
-
|
171
|
-
xunit.execute
|
172
|
-
@log_data = strio.string
|
173
|
-
end
|
174
|
-
|
175
|
-
it "should fail" do
|
176
|
-
$task_failed.should be_true
|
177
|
-
end
|
178
|
-
|
179
|
-
it "should log a message" do
|
180
|
-
@log_data.should include('Directory is required for html_output')
|
181
|
-
end
|
182
|
-
|
183
|
-
after:each do
|
184
|
-
FileUtils.rm_r @working_dir if File.exist? @working_dir
|
185
|
-
end
|
186
|
-
end
|
187
|
-
|
188
|
-
describe XUnitTestRunner, "when providing configuration" do
|
189
|
-
let :xunit do
|
190
|
-
Albacore.configure do |config|
|
191
|
-
config.xunit.command = "configured"
|
192
|
-
end
|
193
|
-
xunit = XUnitTestRunner.new
|
194
|
-
end
|
195
|
-
|
196
|
-
it "should use the configured values" do
|
197
|
-
xunit.command.should == "configured"
|
198
|
-
end
|
199
|
-
end
|
200
|
-
end
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
describe XUnit do
|
4
|
+
subject(:task) do
|
5
|
+
task = XUnit.new()
|
6
|
+
task.extend(SystemPatch)
|
7
|
+
task.command = "xunit"
|
8
|
+
task.assembly = "a.dll"
|
9
|
+
task.results_path = {:html => "output.html"}
|
10
|
+
task
|
11
|
+
end
|
12
|
+
|
13
|
+
let(:cmd) { task.system_command }
|
14
|
+
|
15
|
+
before :each do
|
16
|
+
task.execute
|
17
|
+
end
|
18
|
+
|
19
|
+
it "should use the command" do
|
20
|
+
cmd.should include("xunit")
|
21
|
+
end
|
22
|
+
|
23
|
+
it "should test one assembly" do
|
24
|
+
cmd.should include("\"a.dll\"")
|
25
|
+
end
|
26
|
+
|
27
|
+
it "should output to an unedited path" do
|
28
|
+
cmd.should include("/html \"output.html\"")
|
29
|
+
end
|
30
|
+
end
|
data/spec/yaml/test.yml
ADDED
data/spec/yamlconfig_spec.rb
CHANGED
@@ -1,49 +1,53 @@
|
|
1
|
-
require
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
attr_accessor :
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
end
|
49
|
-
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
class Test
|
4
|
+
include Albacore::Task
|
5
|
+
|
6
|
+
attr_accessor :foo,
|
7
|
+
:bar,
|
8
|
+
:baz
|
9
|
+
end
|
10
|
+
|
11
|
+
describe "yaml configuration" do
|
12
|
+
subject(:yml) { Test.new() }
|
13
|
+
|
14
|
+
before :each do
|
15
|
+
yml.configure("spec/yaml/test.yml")
|
16
|
+
end
|
17
|
+
|
18
|
+
it "should set the property" do
|
19
|
+
yml.foo.should == "foo"
|
20
|
+
end
|
21
|
+
|
22
|
+
it "should set the hashtable" do
|
23
|
+
yml.bar["foo"].should == "foo"
|
24
|
+
yml.bar["bar"].should == "bar"
|
25
|
+
end
|
26
|
+
|
27
|
+
it "should set a symbol value" do
|
28
|
+
yml.baz.should == :baz
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
describe "yaml configuration by folder" do
|
33
|
+
Albacore.configure.yaml_config_folder = "spec/yaml"
|
34
|
+
|
35
|
+
subject(:yml) { Test.new() }
|
36
|
+
|
37
|
+
before :each do
|
38
|
+
yml.load_config_by_task_name("test")
|
39
|
+
end
|
40
|
+
|
41
|
+
it "should set the property" do
|
42
|
+
yml.foo.should == "foo"
|
43
|
+
end
|
44
|
+
|
45
|
+
it "should set the hashtable" do
|
46
|
+
yml.bar["foo"].should == "foo"
|
47
|
+
yml.bar["bar"].should == "bar"
|
48
|
+
end
|
49
|
+
|
50
|
+
it "should set a symbol value" do
|
51
|
+
yml.baz.should == :baz
|
52
|
+
end
|
53
|
+
end
|
data/spec/zip/baz.txt
ADDED
File without changes
|
File without changes
|
File without changes
|
data/spec/zip_spec.rb
CHANGED
@@ -1,221 +1,97 @@
|
|
1
|
-
require
|
2
|
-
require
|
3
|
-
require 'albacore/unzip'
|
4
|
-
require 'ziptestdata'
|
1
|
+
require "spec_helper"
|
2
|
+
require "fileutils"
|
5
3
|
|
6
|
-
describe ZipDirectory
|
7
|
-
|
8
|
-
|
9
|
-
zip.flatten_zip
|
10
|
-
zip.directories_to_zip ZipTestData.folder
|
11
|
-
zip.output_file = "test.zip"
|
12
|
-
zip.execute
|
13
|
-
end
|
14
|
-
|
15
|
-
it "should produce a zip file" do
|
16
|
-
File.exist?(File.join(ZipTestData.folder, "test.zip")).should be_true
|
17
|
-
end
|
18
|
-
end
|
4
|
+
describe ZipDirectory do
|
5
|
+
let(:output_path) { File.join(Dir.mktmpdir(), "test.zip") }
|
6
|
+
let(:unzip_path) { Dir.mktmpdir() }
|
19
7
|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
zip.exclusions File.join(ZipTestData.folder, 'files', 'testfile.txt')
|
27
|
-
zip.execute
|
28
|
-
|
29
|
-
unzip = Unzip.new
|
30
|
-
unzip.file = File.join(ZipTestData.folder, 'test.zip')
|
31
|
-
unzip.destination = ZipTestData.output_folder
|
32
|
-
unzip.execute
|
33
|
-
end
|
34
|
-
|
35
|
-
after :each do
|
36
|
-
FileUtils.rm_rf ZipTestData.output_folder if File.exist? ZipTestData.output_folder
|
37
|
-
end
|
38
|
-
|
39
|
-
it 'should not zip files with the same name as any exclusions' do
|
40
|
-
File.exist?(File.join(ZipTestData.output_folder, 'files', 'testfile.txt')).should be_false
|
41
|
-
end
|
42
|
-
end
|
8
|
+
let(:unzip) do
|
9
|
+
unzip = Unzip.new()
|
10
|
+
unzip.file = output_path
|
11
|
+
unzip.destination = unzip_path
|
12
|
+
unzip
|
13
|
+
end
|
43
14
|
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
zip
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
zip.execute
|
52
|
-
|
53
|
-
unzip = Unzip.new
|
54
|
-
unzip.file = File.join(ZipTestData.folder, 'test.zip')
|
55
|
-
unzip.destination = ZipTestData.output_folder
|
56
|
-
unzip.execute
|
57
|
-
end
|
58
|
-
|
59
|
-
after :each do
|
60
|
-
FileUtils.rm_rf ZipTestData.output_folder if File.exist? ZipTestData.output_folder
|
61
|
-
end
|
62
|
-
|
63
|
-
it 'should not zip files that match any of the exclusions regexps' do
|
64
|
-
File.exist?(File.join(ZipTestData.output_folder, 'files', 'testfile.txt')).should be_false
|
65
|
-
end
|
66
|
-
end
|
67
|
-
|
68
|
-
describe ZipDirectory, 'when zipping a directory of files with glob string exclusions' do
|
69
|
-
before :each do
|
70
|
-
zip = ZipDirectory.new
|
71
|
-
zip.flatten_zip
|
72
|
-
zip.directories_to_zip ZipTestData.folder
|
73
|
-
zip.output_file = 'test.zip'
|
74
|
-
zip.exclusions "**/subfolder/*"
|
75
|
-
zip.execute
|
76
|
-
|
77
|
-
unzip = Unzip.new
|
78
|
-
unzip.file = File.join(ZipTestData.folder, 'test.zip')
|
79
|
-
unzip.destination = ZipTestData.output_folder
|
80
|
-
unzip.execute
|
15
|
+
subject(:task) do
|
16
|
+
task = ZipDirectory.new()
|
17
|
+
task.flatten
|
18
|
+
task.dirs = ["spec/zip/foo"]
|
19
|
+
task.files = ["spec/zip/baz.txt"]
|
20
|
+
task.output_path = output_path
|
21
|
+
task
|
81
22
|
end
|
82
23
|
|
83
24
|
after :each do
|
84
|
-
FileUtils.rm_rf
|
25
|
+
FileUtils.rm_rf(output_path)
|
26
|
+
FileUtils.rm_rf(unzip_path)
|
85
27
|
end
|
86
28
|
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
end
|
96
|
-
|
97
|
-
describe ZipDirectory, "when providing configuration" do
|
98
|
-
let :zip do
|
99
|
-
Albacore.configure do |config|
|
100
|
-
config.zip.output_file = "configured"
|
29
|
+
context "when zipping" do
|
30
|
+
before :each do
|
31
|
+
task.execute()
|
32
|
+
unzip.execute()
|
33
|
+
end
|
34
|
+
|
35
|
+
it "should make a zip" do
|
36
|
+
File.exist?(output_path).should be_true
|
101
37
|
end
|
102
|
-
zip = ZipDirectory.new
|
103
|
-
end
|
104
38
|
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
end
|
39
|
+
it "should zip the additional file" do
|
40
|
+
File.exist?(File.join(unzip_path, "baz.txt")).should be_true
|
41
|
+
end
|
109
42
|
|
110
|
-
|
111
|
-
|
112
|
-
before :each do
|
113
|
-
zip = ZipDirectory.new
|
114
|
-
zip.flatten_zip
|
115
|
-
zip.directories_to_zip ZipTestData.folder
|
116
|
-
zip.output_file = 'test.zip'
|
117
|
-
zip.exclusions "**/subfolder/*"
|
118
|
-
zip.additional_files = [File.join(File.dirname(__FILE__), 'support', 'test.yml')]
|
119
|
-
zip.execute
|
120
|
-
|
121
|
-
unzip = Unzip.new
|
122
|
-
unzip.file = File.join(ZipTestData.folder, 'test.zip')
|
123
|
-
unzip.destination = ZipTestData.output_folder
|
124
|
-
unzip.execute
|
43
|
+
it "should zip the root file" do
|
44
|
+
File.exist?(File.join(unzip_path, "foo.txt")).should be_true
|
125
45
|
end
|
126
46
|
|
127
|
-
|
128
|
-
|
47
|
+
it "should zip the subfolder" do
|
48
|
+
File.exist?(File.join(unzip_path, "bar")).should be_true
|
129
49
|
end
|
130
50
|
|
131
|
-
it "should
|
132
|
-
File.exist?(File.join(
|
133
|
-
File.exist?(File.join(ZipTestData.output_folder, 'files', 'subfolder')).should be_true
|
134
|
-
File.exist?(File.join(ZipTestData.output_folder, 'files', 'testfile.txt')).should be_true
|
135
|
-
File.exist?(File.join(ZipTestData.output_folder, 'test.yml')).should be_true
|
51
|
+
it "should zip the subfolder file" do
|
52
|
+
File.exist?(File.join(unzip_path, "bar/bar.txt")).should be_true
|
136
53
|
end
|
137
54
|
end
|
138
|
-
|
139
|
-
|
55
|
+
|
56
|
+
context "when zipping with string exclusions" do
|
140
57
|
before :each do
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
zip.output_file = 'test.zip'
|
145
|
-
zip.exclusions "**/subfolder/*"
|
146
|
-
zip.additional_files = File.join(File.dirname(__FILE__), 'support', 'test.yml')
|
147
|
-
zip.execute
|
148
|
-
|
149
|
-
unzip = Unzip.new
|
150
|
-
unzip.file = File.join(ZipTestData.folder, 'test.zip')
|
151
|
-
unzip.destination = ZipTestData.output_folder
|
152
|
-
unzip.execute
|
58
|
+
task.exclusions = ["spec/zip/foo/bar/bar.txt"]
|
59
|
+
task.execute()
|
60
|
+
unzip.execute()
|
153
61
|
end
|
154
62
|
|
155
|
-
|
156
|
-
|
157
|
-
end
|
158
|
-
|
159
|
-
it "should add additional file" do
|
160
|
-
File.exist?(File.join(ZipTestData.folder, "test.zip")).should be_true
|
161
|
-
File.exist?(File.join(ZipTestData.output_folder, 'files', 'subfolder')).should be_true
|
162
|
-
File.exist?(File.join(ZipTestData.output_folder, 'files', 'testfile.txt')).should be_true
|
163
|
-
File.exist?(File.join(ZipTestData.output_folder, 'test.yml')).should be_true
|
63
|
+
it "should skip matching files" do
|
64
|
+
File.exist?(File.join(unzip_path, "bar/bar.txt")).should be_false
|
164
65
|
end
|
165
66
|
end
|
166
|
-
end
|
167
67
|
|
168
|
-
|
68
|
+
context "when zipping with regex exclusions" do
|
169
69
|
before :each do
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
zip.output_path = ZipTestData.folder
|
174
|
-
zip.additional_files = [File.join('spec', 'support', 'test.yml'), File.join('spec', 'support', 'AssemblyInfo', 'assemblyinfo.yml')]
|
175
|
-
zip.execute
|
176
|
-
|
177
|
-
unzip = Unzip.new
|
178
|
-
unzip.file = File.join(ZipTestData.folder, 'test.zip')
|
179
|
-
unzip.destination = ZipTestData.output_folder
|
180
|
-
unzip.execute
|
181
|
-
end
|
182
|
-
|
183
|
-
after :each do
|
184
|
-
FileUtils.rm_rf ZipTestData.output_folder if File.exist? ZipTestData.output_folder
|
70
|
+
task.exclusions = [/bar/]
|
71
|
+
task.execute()
|
72
|
+
unzip.execute()
|
185
73
|
end
|
186
|
-
|
187
|
-
it "should
|
188
|
-
File.exist?(File.join(
|
189
|
-
Dir.exist?(File.join(ZipTestData.output_folder, 'spec', 'support', 'yamlconfig')).should be_true
|
190
|
-
File.exist?(File.join(ZipTestData.output_folder, 'spec', 'support', 'yamlconfig', 'msbuild.yml')).should be_true
|
191
|
-
File.exist?(File.join(ZipTestData.output_folder, 'spec', 'support', 'test.yml')).should be_true
|
74
|
+
|
75
|
+
it "should skip matching files" do
|
76
|
+
File.exist?(File.join(unzip_path, "bar/bar.txt")).should be_false
|
192
77
|
end
|
193
|
-
end
|
78
|
+
end
|
194
79
|
|
195
|
-
|
80
|
+
context "when zipping with glob exclusions" do
|
196
81
|
before :each do
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
zip.output_file = 'test.zip'
|
201
|
-
zip.output_path = ZipTestData.folder
|
202
|
-
zip.additional_files = [File.join('spec', 'support', 'test.yml'), File.join('spec', 'support', 'AssemblyInfo', 'assemblyinfo.yml')]
|
203
|
-
zip.execute
|
204
|
-
|
205
|
-
unzip = Unzip.new
|
206
|
-
unzip.file = File.join(ZipTestData.folder, 'test.zip')
|
207
|
-
unzip.destination = ZipTestData.output_folder
|
208
|
-
unzip.execute
|
82
|
+
task.exclusions = ["**/bar/*"]
|
83
|
+
task.execute()
|
84
|
+
unzip.execute()
|
209
85
|
end
|
210
86
|
|
211
|
-
|
212
|
-
|
87
|
+
it "should skip matching files" do
|
88
|
+
File.exist?(File.join(unzip_path, "bar/bar.txt")).should be_false
|
213
89
|
end
|
90
|
+
end
|
214
91
|
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
File.exist?(File.join(ZipTestData.output_folder, 'msbuild.yml')).should be_true
|
219
|
-
File.exist?(File.join(ZipTestData.output_folder, 'test.yml')).should be_true
|
92
|
+
context "without flatten" do
|
93
|
+
it "should zip" do
|
94
|
+
pending("needs some thought")
|
220
95
|
end
|
96
|
+
end
|
221
97
|
end
|