albacore 0.3.6 → 0.6.2.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (643) hide show
  1. data/.gitignore +3 -22
  2. data/.travis.yml +13 -15
  3. data/Gemfile +14 -13
  4. data/Guardfile +7 -0
  5. data/README.md +148 -0
  6. data/Rakefile +9 -25
  7. data/albacore.gemspec +20 -5
  8. data/lib/albacore.rb +3 -9
  9. data/lib/albacore/albacore_module.rb +53 -0
  10. data/lib/albacore/application.rb +32 -0
  11. data/lib/albacore/asmver.rb +67 -0
  12. data/lib/albacore/asmver/cpp.rb +20 -0
  13. data/lib/albacore/asmver/cs.rb +17 -0
  14. data/lib/albacore/asmver/engine.rb +43 -0
  15. data/lib/albacore/asmver/fs.rb +25 -0
  16. data/lib/albacore/asmver/vb.rb +17 -0
  17. data/lib/albacore/build.rb +203 -0
  18. data/lib/albacore/cmd_config.rb +55 -0
  19. data/lib/albacore/cross_platform_cmd.rb +177 -0
  20. data/lib/albacore/dsl.rb +118 -0
  21. data/lib/albacore/errors/unfilled_property_error.rb +14 -0
  22. data/lib/albacore/ext/README.md +12 -0
  23. data/lib/albacore/ext/teamcity.rb +64 -0
  24. data/lib/albacore/facts.rb +25 -0
  25. data/lib/albacore/logging.rb +29 -0
  26. data/lib/albacore/migrate.rb +175 -0
  27. data/lib/albacore/nugets_authentication.rb +9 -0
  28. data/lib/albacore/nugets_pack.rb +283 -0
  29. data/lib/albacore/nugets_restore.rb +131 -0
  30. data/lib/albacore/paths.rb +30 -0
  31. data/lib/albacore/project.rb +104 -0
  32. data/lib/albacore/restore_hint_paths.rb +112 -0
  33. data/lib/albacore/semver.rb +5 -0
  34. data/lib/albacore/tasks/README.md +16 -0
  35. data/lib/albacore/tasks/albasemver.rb +49 -0
  36. data/lib/albacore/tasks/projectlint.rb +81 -0
  37. data/lib/albacore/tasks/versionizer.rb +65 -0
  38. data/lib/albacore/test_runner.rb +39 -0
  39. data/lib/albacore/version.rb +3 -0
  40. data/spec/Rakefile +5 -0
  41. data/spec/albacore_spec.rb +35 -0
  42. data/spec/cross_platform_cmd_spec.rb +77 -0
  43. data/spec/ext_teamcity_spec.rb +71 -0
  44. data/spec/facts_spec.rb +7 -0
  45. data/spec/migrate_spec.rb +80 -0
  46. data/spec/nugets_pack_spec.rb +66 -0
  47. data/spec/nugets_restore_spec.rb +55 -0
  48. data/spec/project_spec.rb +26 -0
  49. data/spec/projectlint/added_but_not_on_filesystem/aproject.csproj +29 -0
  50. data/spec/projectlint/correct/File.cs +1 -0
  51. data/spec/projectlint/correct/Image.txt +1 -0
  52. data/spec/projectlint/correct/MyHeavy.heavy +1 -0
  53. data/spec/projectlint/correct/Schema.xsd +1 -0
  54. data/spec/projectlint/correct/SubFolder/AnotherFile.cs +1 -0
  55. data/spec/projectlint/correct/aproject.csproj +29 -0
  56. data/spec/projectlint/on_filesystem_but_not_added/File.cs +1 -0
  57. data/spec/projectlint/on_filesystem_but_not_added/Image.txt +1 -0
  58. data/spec/projectlint/on_filesystem_but_not_added/aproject.csproj +11 -0
  59. data/spec/projectlint_spec.rb +77 -0
  60. data/spec/sh_interceptor.rb +33 -0
  61. data/spec/smoke_spec.rb +9 -0
  62. data/spec/spec_helper.rb +13 -15
  63. data/spec/testdata/Library1.fs +4 -0
  64. data/spec/testdata/Project.fsproj +58 -0
  65. data/spec/testdata/Project/Project.sln +20 -0
  66. data/spec/testdata/Project/Project.v11.suo +0 -0
  67. data/spec/testdata/example.nuspec +14 -0
  68. data/spec/testdata/packages.config +6 -0
  69. metadata +235 -662
  70. data/.bundle/config +0 -2
  71. data/.rspec +0 -2
  72. data/.rvmrc +0 -1
  73. data/README.markdown +0 -71
  74. data/lib/albacore/albacoretask.rb +0 -50
  75. data/lib/albacore/aspnetcompiler.rb +0 -58
  76. data/lib/albacore/assemblyinfo.rb +0 -172
  77. data/lib/albacore/assemblyinfolanguages/assemblyinfoengine.rb +0 -41
  78. data/lib/albacore/assemblyinfolanguages/cppcliengine.rb +0 -18
  79. data/lib/albacore/assemblyinfolanguages/csharpengine.rb +0 -15
  80. data/lib/albacore/assemblyinfolanguages/fsharpengine.rb +0 -23
  81. data/lib/albacore/assemblyinfolanguages/vbnetengine.rb +0 -15
  82. data/lib/albacore/config/aspnetcompilerconfig.rb +0 -29
  83. data/lib/albacore/config/assemblyinfoconfig.rb +0 -20
  84. data/lib/albacore/config/config.rb +0 -22
  85. data/lib/albacore/config/cscconfig.rb +0 -28
  86. data/lib/albacore/config/docuconfig.rb +0 -23
  87. data/lib/albacore/config/execconfig.rb +0 -15
  88. data/lib/albacore/config/fluentmigratorrunnerconfig.rb +0 -15
  89. data/lib/albacore/config/ilmergeconfig.rb +0 -24
  90. data/lib/albacore/config/msbuildconfig.rb +0 -29
  91. data/lib/albacore/config/msdeployconfig.rb +0 -15
  92. data/lib/albacore/config/mspectestrunnerconfig.rb +0 -15
  93. data/lib/albacore/config/mstesttestrunnerconfig.rb +0 -15
  94. data/lib/albacore/config/nantconfig.rb +0 -15
  95. data/lib/albacore/config/nchurnconfig.rb +0 -15
  96. data/lib/albacore/config/ncoverconsoleconfig.rb +0 -15
  97. data/lib/albacore/config/ncoverreportconfig.rb +0 -15
  98. data/lib/albacore/config/ndependconfig.rb +0 -15
  99. data/lib/albacore/config/netversion.rb +0 -24
  100. data/lib/albacore/config/nugetpackconfig.rb +0 -19
  101. data/lib/albacore/config/nugetpublishconfig.rb +0 -19
  102. data/lib/albacore/config/nugetpushconfig.rb +0 -19
  103. data/lib/albacore/config/nugetupdateconfig.rb +0 -19
  104. data/lib/albacore/config/nunittestrunnerconfig.rb +0 -14
  105. data/lib/albacore/config/specflowreportconfig.rb +0 -24
  106. data/lib/albacore/config/sqlcmdconfig.rb +0 -15
  107. data/lib/albacore/config/unzipconfig.rb +0 -15
  108. data/lib/albacore/config/vssgetconfig.rb +0 -14
  109. data/lib/albacore/config/xbuildconfig.rb +0 -15
  110. data/lib/albacore/config/xunittestrunnerconfig.rb +0 -15
  111. data/lib/albacore/config/zipdirectoryconfig.rb +0 -15
  112. data/lib/albacore/csc.rb +0 -67
  113. data/lib/albacore/docu.rb +0 -41
  114. data/lib/albacore/exec.rb +0 -18
  115. data/lib/albacore/fluentmigratorrunner.rb +0 -51
  116. data/lib/albacore/ilmerge.rb +0 -65
  117. data/lib/albacore/msbuild.rb +0 -78
  118. data/lib/albacore/msdeploy.rb +0 -122
  119. data/lib/albacore/mspectestrunner.rb +0 -50
  120. data/lib/albacore/mstesttestrunner.rb +0 -43
  121. data/lib/albacore/nant.rb +0 -38
  122. data/lib/albacore/nchurn.rb +0 -74
  123. data/lib/albacore/ncoverconsole.rb +0 -68
  124. data/lib/albacore/ncoverreport.rb +0 -62
  125. data/lib/albacore/ncoverreports/assemblyfilter.rb +0 -10
  126. data/lib/albacore/ncoverreports/branchcoverage.rb +0 -10
  127. data/lib/albacore/ncoverreports/classfilter.rb +0 -9
  128. data/lib/albacore/ncoverreports/codecoveragebase.rb +0 -25
  129. data/lib/albacore/ncoverreports/cyclomaticcomplexity.rb +0 -23
  130. data/lib/albacore/ncoverreports/documentfilter.rb +0 -9
  131. data/lib/albacore/ncoverreports/fullcoveragereport.rb +0 -13
  132. data/lib/albacore/ncoverreports/methodcoverage.rb +0 -10
  133. data/lib/albacore/ncoverreports/methodfilter.rb +0 -9
  134. data/lib/albacore/ncoverreports/namespacefilter.rb +0 -9
  135. data/lib/albacore/ncoverreports/reportfilterbase.rb +0 -26
  136. data/lib/albacore/ncoverreports/summaryreport.rb +0 -18
  137. data/lib/albacore/ncoverreports/symbolcoverage.rb +0 -9
  138. data/lib/albacore/ndepend.rb +0 -33
  139. data/lib/albacore/nugetinstall.rb +0 -57
  140. data/lib/albacore/nugetpack.rb +0 -54
  141. data/lib/albacore/nugetpublish.rb +0 -47
  142. data/lib/albacore/nugetpush.rb +0 -46
  143. data/lib/albacore/nugetupdate.rb +0 -51
  144. data/lib/albacore/nunittestrunner.rb +0 -41
  145. data/lib/albacore/nuspec.rb +0 -178
  146. data/lib/albacore/output.rb +0 -103
  147. data/lib/albacore/plink.rb +0 -47
  148. data/lib/albacore/specflowreport.rb +0 -62
  149. data/lib/albacore/sqlcmd.rb +0 -82
  150. data/lib/albacore/support/attrmethods.rb +0 -33
  151. data/lib/albacore/support/createtask.rb +0 -50
  152. data/lib/albacore/support/failure.rb +0 -15
  153. data/lib/albacore/support/logging.rb +0 -38
  154. data/lib/albacore/support/openstruct.rb +0 -13
  155. data/lib/albacore/support/runcommand.rb +0 -45
  156. data/lib/albacore/support/supportlinux.rb +0 -21
  157. data/lib/albacore/support/updateattributes.rb +0 -13
  158. data/lib/albacore/support/yamlconfig.rb +0 -18
  159. data/lib/albacore/unzip.rb +0 -28
  160. data/lib/albacore/vssget.rb +0 -44
  161. data/lib/albacore/xbuild.rb +0 -54
  162. data/lib/albacore/xunittestrunner.rb +0 -56
  163. data/lib/albacore/zipdirectory.rb +0 -106
  164. data/lib/version.rb +0 -3
  165. data/samples/Rakefile +0 -154
  166. data/spec/README.md +0 -9
  167. data/spec/albacoremodel_spec.rb +0 -53
  168. data/spec/assemblyinfo_contexts.rb +0 -52
  169. data/spec/assemblyinfo_spec.rb +0 -459
  170. data/spec/attrmethods_spec.rb +0 -136
  171. data/spec/config_spec.rb +0 -34
  172. data/spec/createtask_spec.rb +0 -237
  173. data/spec/csc_spec.rb +0 -253
  174. data/spec/docu_spec.rb +0 -109
  175. data/spec/exec_spec.rb +0 -45
  176. data/spec/fluentmigratorrunner_spec.rb +0 -256
  177. data/spec/ilmerge_spec.rb +0 -93
  178. data/spec/msbuild_spec.rb +0 -287
  179. data/spec/msdeploy_spec.rb +0 -124
  180. data/spec/mspec_spec.rb +0 -28
  181. data/spec/mstesttestrunner_spec.rb +0 -144
  182. data/spec/nant_spec.rb +0 -110
  183. data/spec/nchurn_spec.rb +0 -75
  184. data/spec/ncoverconsole_spec.rb +0 -353
  185. data/spec/ncoverreport_spec.rb +0 -619
  186. data/spec/ndepend_spec.rb +0 -72
  187. data/spec/netversion_spec.rb +0 -53
  188. data/spec/nugetinstall_spec.rb +0 -47
  189. data/spec/nugetupdate_spec.rb +0 -42
  190. data/spec/nunittestrunner_spec.rb +0 -115
  191. data/spec/nuspec_spec.rb +0 -85
  192. data/spec/output_spec.rb +0 -149
  193. data/spec/patches/docu_patch.rb +0 -13
  194. data/spec/patches/fail_patch.rb +0 -9
  195. data/spec/patches/system_patch.rb +0 -20
  196. data/spec/plink_spec.rb +0 -62
  197. data/spec/runcommand_spec.rb +0 -94
  198. data/spec/spec.opts +0 -1
  199. data/spec/specflowreport_spec.rb +0 -143
  200. data/spec/sqlcmd_spec.rb +0 -334
  201. data/spec/support/AssemblyInfo/AssemblyInfo.test +0 -9
  202. data/spec/support/AssemblyInfo/AssemblyInfoInput.test +0 -9
  203. data/spec/support/AssemblyInfo/assemblyinfo.yml +0 -2
  204. data/spec/support/CodeCoverage/mspec/assemblies/Machine.Specifications.dll +0 -0
  205. data/spec/support/CodeCoverage/mspec/assemblies/TestSolution.MSpecTests.dll +0 -0
  206. data/spec/support/CodeCoverage/mspec/assemblies/TestSolution.dll +0 -0
  207. data/spec/support/CodeCoverage/mspec/assemblies/nunit.framework.dll +0 -0
  208. data/spec/support/CodeCoverage/mstest/TestSolution.MSTestTests.NET40.dll +0 -0
  209. data/spec/support/CodeCoverage/mstest/TestSolution.MSTestTests.dll +0 -0
  210. data/spec/support/CodeCoverage/nunit/assemblies/TestSolution.Tests.dll +0 -0
  211. data/spec/support/CodeCoverage/nunit/assemblies/TestSolution.dll +0 -0
  212. data/spec/support/CodeCoverage/nunit/assemblies/nunit.framework.dll +0 -0
  213. data/spec/support/CodeCoverage/nunit/assemblies/with spaces/TestSolution.Tests.dll +0 -0
  214. data/spec/support/CodeCoverage/nunit/assemblies/with spaces/TestSolution.dll +0 -0
  215. data/spec/support/CodeCoverage/nunit/assemblies/with spaces/nunit.framework.dll +0 -0
  216. data/spec/support/CodeCoverage/nunit/failing_assemblies/TestSolution.FailingTests.dll +0 -0
  217. data/spec/support/CodeCoverage/nunit/failing_assemblies/nunit.framework.dll +0 -0
  218. data/spec/support/CodeCoverage/report/coverage.xml +0 -4578
  219. data/spec/support/CodeCoverage/xunit/assemblies/TestSolution.XUnitTests.dll +0 -0
  220. data/spec/support/CodeCoverage/xunit/assemblies/TestSolution.dll +0 -0
  221. data/spec/support/CodeCoverage/xunit/assemblies/xunit.dll +0 -0
  222. data/spec/support/CodeCoverage/xunit/assemblies/xunit.xml +0 -2604
  223. data/spec/support/FluentMigrator/FluentMigrator.dll +0 -0
  224. data/spec/support/FluentMigrator/TestSolution.FluentMigrator.dll +0 -0
  225. data/spec/support/SpecFlow/TechTalk.SpecFlow.dll +0 -0
  226. data/spec/support/SpecFlow/TestSolution.SpecFlow.dll +0 -0
  227. data/spec/support/SpecFlow/TestSolution.SpecFlow.pdb +0 -0
  228. data/spec/support/SpecFlow/TestSolution.dll +0 -0
  229. data/spec/support/SpecFlow/TestSolution.pdb +0 -0
  230. data/spec/support/SpecFlow/nunit.framework.dll +0 -0
  231. data/spec/support/TestSolution/LocalTestRun.testrunconfig +0 -5
  232. data/spec/support/TestSolution/NDependProject.xml +0 -315
  233. data/spec/support/TestSolution/TestSolution.5.0.ReSharper.user +0 -27
  234. data/spec/support/TestSolution/TestSolution.FailingTests/FailingTestFixture.cs +0 -19
  235. data/spec/support/TestSolution/TestSolution.FailingTests/Properties/AssemblyInfo.cs +0 -36
  236. data/spec/support/TestSolution/TestSolution.FailingTests/TestSolution.FailingTests.csproj +0 -101
  237. data/spec/support/TestSolution/TestSolution.FluentMigrator/M001_SampleMigration.cs +0 -19
  238. data/spec/support/TestSolution/TestSolution.FluentMigrator/Properties/AssemblyInfo.cs +0 -36
  239. data/spec/support/TestSolution/TestSolution.FluentMigrator/TestSolution.FluentMigrator.csproj +0 -101
  240. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy.sln +0 -20
  241. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/About.aspx +0 -13
  242. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/About.aspx.cs +0 -17
  243. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/About.aspx.designer.cs +0 -17
  244. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/ChangePassword.aspx +0 -60
  245. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/ChangePassword.aspx.cs +0 -17
  246. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/ChangePassword.aspx.designer.cs +0 -26
  247. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/ChangePasswordSuccess.aspx +0 -13
  248. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/ChangePasswordSuccess.aspx.cs +0 -17
  249. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/ChangePasswordSuccess.aspx.designer.cs +0 -17
  250. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/Login.aspx +0 -49
  251. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/Login.aspx.cs +0 -17
  252. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/Login.aspx.designer.cs +0 -35
  253. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/Register.aspx +0 -75
  254. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/Register.aspx.cs +0 -32
  255. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/Register.aspx.designer.cs +0 -35
  256. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/Web.config +0 -18
  257. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Default.aspx +0 -17
  258. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Default.aspx.cs +0 -17
  259. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Default.aspx.designer.cs +0 -17
  260. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Global.asax +0 -1
  261. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Global.asax.cs +0 -47
  262. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Properties/AssemblyInfo.cs +0 -35
  263. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Scripts/jquery-1.4.1-vsdoc.js +0 -8061
  264. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Scripts/jquery-1.4.1.js +0 -6111
  265. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Scripts/jquery-1.4.1.min.js +0 -167
  266. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Site.Master +0 -51
  267. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Site.Master.cs +0 -17
  268. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Site.Master.designer.cs +0 -71
  269. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Styles/Site.css +0 -294
  270. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/TestSolution.MSDeploy.Publish.xml +0 -2
  271. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/TestSolution.MSDeploy.csproj +0 -163
  272. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Web.Debug.config +0 -30
  273. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Web.Release.config +0 -31
  274. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Web.config +0 -52
  275. data/spec/support/TestSolution/TestSolution.MSTestTests.NET40/Properties/AssemblyInfo.cs +0 -36
  276. data/spec/support/TestSolution/TestSolution.MSTestTests.NET40/TestSolution.MSTestTests.NET40.csproj +0 -53
  277. data/spec/support/TestSolution/TestSolution.MSTestTests.NET40/Tests.cs +0 -20
  278. data/spec/support/TestSolution/TestSolution.MSTestTests/Properties/AssemblyInfo.cs +0 -35
  279. data/spec/support/TestSolution/TestSolution.MSTestTests/TestSolution.MSTestTests.csproj +0 -97
  280. data/spec/support/TestSolution/TestSolution.MSTestTests/Tests.cs +0 -20
  281. data/spec/support/TestSolution/TestSolution.MSpecTests/Properties/AssemblyInfo.cs +0 -36
  282. data/spec/support/TestSolution/TestSolution.MSpecTests/SomeSpecTest.cs +0 -18
  283. data/spec/support/TestSolution/TestSolution.MSpecTests/TestSolution.MSpecTests.csproj +0 -110
  284. data/spec/support/TestSolution/TestSolution.SpecFlow/OneFeature.feature +0 -8
  285. data/spec/support/TestSolution/TestSolution.SpecFlow/OneFeature.feature.cs +0 -73
  286. data/spec/support/TestSolution/TestSolution.SpecFlow/Properties/AssemblyInfo.cs +0 -36
  287. data/spec/support/TestSolution/TestSolution.SpecFlow/StepDefinition.cs +0 -30
  288. data/spec/support/TestSolution/TestSolution.SpecFlow/TestSolution.SpecFlow.csproj +0 -122
  289. data/spec/support/TestSolution/TestSolution.Tests/Properties/AssemblyInfo.cs +0 -36
  290. data/spec/support/TestSolution/TestSolution.Tests/SomeTestFixture.cs +0 -23
  291. data/spec/support/TestSolution/TestSolution.Tests/TestSolution.Tests.csproj +0 -107
  292. data/spec/support/TestSolution/TestSolution.XUnitTests/Class1.cs +0 -20
  293. data/spec/support/TestSolution/TestSolution.XUnitTests/FailingTestFixture.cs +0 -14
  294. data/spec/support/TestSolution/TestSolution.XUnitTests/Properties/AssemblyInfo.cs +0 -36
  295. data/spec/support/TestSolution/TestSolution.XUnitTests/TestSolution.XUnitTests.csproj +0 -108
  296. data/spec/support/TestSolution/TestSolution.build +0 -25
  297. data/spec/support/TestSolution/TestSolution.sln +0 -75
  298. data/spec/support/TestSolution/TestSolution.vsmdi +0 -6
  299. data/spec/support/TestSolution/TestSolution/Class1.cs +0 -17
  300. data/spec/support/TestSolution/TestSolution/Properties/AssemblyInfo.cs +0 -36
  301. data/spec/support/TestSolution/TestSolution/TestSolution.csproj +0 -97
  302. data/spec/support/Tools/FluentMigrator-0.9/FluentMigrator.MSBuild.dll +0 -0
  303. data/spec/support/Tools/FluentMigrator-0.9/FluentMigrator.NAnt.dll +0 -0
  304. data/spec/support/Tools/FluentMigrator-0.9/FluentMigrator.Runner.dll +0 -0
  305. data/spec/support/Tools/FluentMigrator-0.9/FluentMigrator.Runner.pdb +0 -0
  306. data/spec/support/Tools/FluentMigrator-0.9/FluentMigrator.Tests.dll +0 -0
  307. data/spec/support/Tools/FluentMigrator-0.9/FluentMigrator.Tests.pdb +0 -0
  308. data/spec/support/Tools/FluentMigrator-0.9/FluentMigrator.dll +0 -0
  309. data/spec/support/Tools/FluentMigrator-0.9/FluentMigrator.pdb +0 -0
  310. data/spec/support/Tools/FluentMigrator-0.9/Migrate.exe +0 -0
  311. data/spec/support/Tools/FluentMigrator-0.9/Migrate.exe.config +0 -6
  312. data/spec/support/Tools/FluentMigrator-0.9/Moq.dll +0 -0
  313. data/spec/support/Tools/FluentMigrator-0.9/Moq.xml +0 -3467
  314. data/spec/support/Tools/FluentMigrator-0.9/MySql.Data.dll +0 -0
  315. data/spec/support/Tools/FluentMigrator-0.9/NAnt.Core.dll +0 -0
  316. data/spec/support/Tools/FluentMigrator-0.9/NAnt.Core.xml +0 -14880
  317. data/spec/support/Tools/FluentMigrator-0.9/Oracle.DataAccess.dll +0 -0
  318. data/spec/support/Tools/FluentMigrator-0.9/System.Data.SQLite.DLL +0 -0
  319. data/spec/support/Tools/FluentMigrator-0.9/log4net.dll +0 -0
  320. data/spec/support/Tools/FluentMigrator-0.9/nunit.framework.dll +0 -0
  321. data/spec/support/Tools/FluentMigrator-0.9/nunit.should.dll +0 -0
  322. data/spec/support/Tools/FluentMigrator-0.9/testscript.sql +0 -1
  323. data/spec/support/Tools/MSTest-2008/MSTest.exe +0 -0
  324. data/spec/support/Tools/MSTest-2008/Microsoft.VisualStudio.QualityTools.CommandLine.dll +0 -0
  325. data/spec/support/Tools/MSTest-2008/Microsoft.VisualStudio.QualityTools.Common.dll +0 -0
  326. data/spec/support/Tools/MSTest-2008/Microsoft.VisualStudio.QualityTools.ControllerObject.dll +0 -0
  327. data/spec/support/Tools/MSTest-2008/Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll +0 -0
  328. data/spec/support/Tools/MSTest-2008/Microsoft.VisualStudio.QualityTools.TMI.dll +0 -0
  329. data/spec/support/Tools/MSTest-2008/Microsoft.VisualStudio.QualityTools.Tips.UnitTest.Adapter.dll +0 -0
  330. data/spec/support/Tools/MSTest-2008/Microsoft.VisualStudio.QualityTools.Tips.UnitTest.AssemblyResolver.dll +0 -0
  331. data/spec/support/Tools/MSTest-2008/Microsoft.VisualStudio.QualityTools.Tips.UnitTest.ObjectModel.dll +0 -0
  332. data/spec/support/Tools/MSTest-2008/Microsoft.VisualStudio.QualityTools.Tips.UnitTest.Tip.dll +0 -0
  333. data/spec/support/Tools/MSTest-2010/MSTest.exe +0 -0
  334. data/spec/support/Tools/MSTest-2010/MSTest.exe.config +0 -31
  335. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.AgentObject.dll +0 -0
  336. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.AgentProcessManager.dll +0 -0
  337. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.CMI.dll +0 -0
  338. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.CheckinPolicies.dll +0 -0
  339. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.CodeCoverage.dll +0 -0
  340. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.CodedUITest.Controls.dll +0 -0
  341. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.CodedUITestFramework.dll +0 -0
  342. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.CodedUITestPackage.dll +0 -0
  343. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.CommandLine.dll +0 -0
  344. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Common.dll +0 -0
  345. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Controller.SpooledJob.dll +0 -0
  346. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.ControllerObject.dll +0 -0
  347. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.DataCollectionAgentObject.dll +0 -0
  348. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll +0 -0
  349. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.HostAdapters.ASPNETAdapter.dll +0 -0
  350. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.HostAdapters.ASPNETAgent.dll +0 -0
  351. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Linking.dll +0 -0
  352. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTest.dll +0 -0
  353. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestExcelAddIn.dll +0 -0
  354. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestExcelAddIn.dll.manifest +0 -296
  355. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestExcelAddIn.vsto +0 -150
  356. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestExcelCommon.dll +0 -0
  357. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestExcelCommon.tlb +0 -0
  358. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestExec.dll +0 -0
  359. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll +0 -0
  360. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestPackage.dll +0 -0
  361. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestUI.dll +0 -0
  362. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.NICServices.dll +0 -0
  363. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.NetworkEmulation.dll +0 -0
  364. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.OperationalStore.ClientHelper.dll +0 -0
  365. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.RecorderBar.dll +0 -0
  366. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.RecorderBarBHO100.dll +0 -0
  367. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Resource.dll +0 -0
  368. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Sqm.dll +0 -0
  369. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.TMI.dll +0 -0
  370. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.TestCaseManagement.dll +0 -0
  371. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.GenericTest.Adapter.dll +0 -0
  372. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.GenericTest.ObjectModel.dll +0 -0
  373. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.GenericTest.Tip.dll +0 -0
  374. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.ManualTest.Adapter.dll +0 -0
  375. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.ManualTest.ObjectModel.dll +0 -0
  376. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.ManualTest.Tip.dll +0 -0
  377. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.OrderedTest.Adapter.dll +0 -0
  378. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.OrderedTest.ObjectModel.dll +0 -0
  379. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.OrderedTest.Tip.dll +0 -0
  380. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.TuipPackage.dll +0 -0
  381. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.UnitTest.Adapter.dll +0 -0
  382. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.UnitTest.AssemblyResolver.dll +0 -0
  383. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.UnitTest.ObjectModel.dll +0 -0
  384. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.UnitTest.Tip.dll +0 -0
  385. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.WebLoadTest.Tip.dll +0 -0
  386. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll +0 -0
  387. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Vsip.dll +0 -0
  388. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.WarehouseCommon.dll +0 -0
  389. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.WebTestFramework.dll +0 -0
  390. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.WebTestPlayback.dll +0 -0
  391. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Wizard.TestProjectWizards.dll +0 -0
  392. data/spec/support/Tools/MSTest-2010/mstest.reg +0 -0
  393. data/spec/support/Tools/Machine.Specifications-0.5.3/lib/Machine.Specifications.TDNetRunner.dll +0 -0
  394. data/spec/support/Tools/Machine.Specifications-0.5.3/lib/Machine.Specifications.dll +0 -0
  395. data/spec/support/Tools/Machine.Specifications-0.5.3/lib/Machine.Specifications.dll.tdnet +0 -5
  396. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/CommandLine.dll +0 -0
  397. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/CommandLine.xml +0 -504
  398. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.4.1.bat +0 -5
  399. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.4.5.bat +0 -5
  400. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.5.0 - VS2008.bat +0 -5
  401. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.5.0 - VS2010.bat +0 -5
  402. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.5.1 - VS2008.bat +0 -5
  403. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.5.1 - VS2010.bat +0 -5
  404. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.6.0 - VS2008.bat +0 -5
  405. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.6.0 - VS2010.bat +0 -5
  406. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.6.1 - VS2008.bat +0 -5
  407. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.6.1 - VS2010.bat +0 -5
  408. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallTDNetRunner.bat +0 -16
  409. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallTDNetRunnerSilent.bat +0 -16
  410. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/License.txt +0 -54
  411. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.GallioAdapter.3.1.dll +0 -0
  412. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.GallioAdapter.plugin +0 -43
  413. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.ReSharperRunner.4.1.dll +0 -0
  414. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.ReSharperRunner.4.5.dll +0 -0
  415. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.ReSharperRunner.5.0.dll +0 -0
  416. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.ReSharperRunner.5.1.dll +0 -0
  417. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.ReSharperRunner.6.0.dll +0 -0
  418. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.ReSharperRunner.6.1.dll +0 -0
  419. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.Reporting.Templates.dll +0 -0
  420. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.Reporting.dll +0 -0
  421. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.SeleniumSupport.dll +0 -0
  422. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.TDNetRunner.dll +0 -0
  423. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.WatinSupport.dll +0 -0
  424. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.dll +0 -0
  425. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.dll.tdnet +0 -5
  426. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Spark.dll +0 -0
  427. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/TestDriven.Framework.dll +0 -0
  428. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/install.ps1 +0 -6
  429. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/mspec-clr4.exe +0 -0
  430. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/mspec-clr4.exe.config +0 -6
  431. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/mspec-x86-clr4.exe +0 -0
  432. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/mspec-x86-clr4.exe.config +0 -6
  433. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/mspec-x86.exe +0 -0
  434. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/mspec.exe +0 -0
  435. data/spec/support/Tools/NAnt-0.85/COPYING.txt +0 -340
  436. data/spec/support/Tools/NAnt-0.85/README.txt +0 -144
  437. data/spec/support/Tools/NChurn-v0.4/LICENSE.txt +0 -133
  438. data/spec/support/Tools/NChurn-v0.4/NChurn.exe +0 -0
  439. data/spec/support/Tools/NChurn-v0.4/README.md +0 -171
  440. data/spec/support/Tools/NChurn-v0.4/VERSION +0 -1
  441. data/spec/support/Tools/NChurn-v0.4/churn-0.4.0.0.txt +0 -178
  442. data/spec/support/Tools/NCover-v3.3/ActiproEULA.hml +0 -287
  443. data/spec/support/Tools/NCover-v3.3/ActiproSoftware.Shared.Wpf30.dll +0 -0
  444. data/spec/support/Tools/NCover-v3.3/ActiproSoftware.SyntaxEditor.Addons.DotNet.Wpf30.dll +0 -0
  445. data/spec/support/Tools/NCover-v3.3/ActiproSoftware.SyntaxEditor.Wpf30.dll +0 -0
  446. data/spec/support/Tools/NCover-v3.3/ActiproSoftware.Text.Net20.dll +0 -0
  447. data/spec/support/Tools/NCover-v3.3/AdminBootstrapper.exe +0 -0
  448. data/spec/support/Tools/NCover-v3.3/Build Task Plugins/MSBuildNCoverExample.proj +0 -237
  449. data/spec/support/Tools/NCover-v3.3/Build Task Plugins/MSBuildReportingExample.proj +0 -224
  450. data/spec/support/Tools/NCover-v3.3/Build Task Plugins/NAntNCoverExample.build +0 -241
  451. data/spec/support/Tools/NCover-v3.3/Build Task Plugins/NAntReportingExample.build +0 -218
  452. data/spec/support/Tools/NCover-v3.3/Build Task Plugins/NCover.MSBuildTasks.dll +0 -0
  453. data/spec/support/Tools/NCover-v3.3/Build Task Plugins/NCover.NAntTasks.dll +0 -0
  454. data/spec/support/Tools/NCover-v3.3/Build Task Plugins/NCoverExplorer.MSBuildTasks.dll +0 -0
  455. data/spec/support/Tools/NCover-v3.3/Build Task Plugins/NCoverExplorer.NAntTasks.dll +0 -0
  456. data/spec/support/Tools/NCover-v3.3/CC.Net/NCoverReporting30.xsl +0 -2313
  457. data/spec/support/Tools/NCover-v3.3/CC.Net/dashboard.config +0 -55
  458. data/spec/support/Tools/NCover-v3.3/CC.Net/excanvas.js +0 -35
  459. data/spec/support/Tools/NCover-v3.3/CC.Net/g.png +0 -0
  460. data/spec/support/Tools/NCover-v3.3/CC.Net/jquery-1.3.2.min.js +0 -19
  461. data/spec/support/Tools/NCover-v3.3/CC.Net/r.png +0 -0
  462. data/spec/support/Tools/NCover-v3.3/CC.Net/readme.txt +0 -51
  463. data/spec/support/Tools/NCover-v3.3/CC.Net/trends.js +0 -184
  464. data/spec/support/Tools/NCover-v3.3/CC.Net/y.png +0 -0
  465. data/spec/support/Tools/NCover-v3.3/MSVCM90.dll +0 -0
  466. data/spec/support/Tools/NCover-v3.3/MSVCP90.dll +0 -0
  467. data/spec/support/Tools/NCover-v3.3/MSVCR90.dll +0 -0
  468. data/spec/support/Tools/NCover-v3.3/Microsoft.VC90.CRT.manifest +0 -13
  469. data/spec/support/Tools/NCover-v3.3/Mindscape.LightSpeed.Linq.dll +0 -0
  470. data/spec/support/Tools/NCover-v3.3/Mindscape.LightSpeed.dll +0 -0
  471. data/spec/support/Tools/NCover-v3.3/NCover.Console.exe +0 -0
  472. data/spec/support/Tools/NCover-v3.3/NCover.Console.exe.config +0 -55
  473. data/spec/support/Tools/NCover-v3.3/NCover.Data.x86.dll +0 -0
  474. data/spec/support/Tools/NCover-v3.3/NCover.Explorer.Framework.dll +0 -0
  475. data/spec/support/Tools/NCover-v3.3/NCover.Explorer.exe +0 -0
  476. data/spec/support/Tools/NCover-v3.3/NCover.Explorer.exe.config +0 -16
  477. data/spec/support/Tools/NCover-v3.3/NCover.Framework.XmlSerializers.dll +0 -0
  478. data/spec/support/Tools/NCover-v3.3/NCover.Framework.dll +0 -0
  479. data/spec/support/Tools/NCover-v3.3/NCover.Interfaces.Core.dll +0 -0
  480. data/spec/support/Tools/NCover-v3.3/NCover.Interfaces.dll +0 -0
  481. data/spec/support/Tools/NCover-v3.3/NCover.Legacy.Configuration.dll +0 -0
  482. data/spec/support/Tools/NCover-v3.3/NCover.Lib.x86.dll +0 -0
  483. data/spec/support/Tools/NCover-v3.3/NCover.Registration.exe +0 -0
  484. data/spec/support/Tools/NCover-v3.3/NCover.Reporting.exe +0 -0
  485. data/spec/support/Tools/NCover-v3.3/NCover.Runner.dll +0 -0
  486. data/spec/support/Tools/NCover-v3.3/NCover.UpConvert.exe +0 -0
  487. data/spec/support/Tools/NCover-v3.3/NCover.Utilities.dll +0 -0
  488. data/spec/support/Tools/NCover-v3.3/NCoverEULA.pdf +0 -0
  489. data/spec/support/Tools/NCover-v3.3/NCoverExplorer.Console.exe +0 -0
  490. data/spec/support/Tools/NCover-v3.3/ReportingExample.config +0 -213
  491. data/spec/support/Tools/NCover-v3.3/System.Data.SQLite.dll +0 -0
  492. data/spec/support/Tools/NDepend-v2.12/EULA_NDepend.txt +0 -94
  493. data/spec/support/Tools/NDepend-v2.12/Lib/DevExpress.Data.v8.2.dll +0 -0
  494. data/spec/support/Tools/NDepend-v2.12/Lib/DevExpress.OfficeSkins.v8.2.dll +0 -0
  495. data/spec/support/Tools/NDepend-v2.12/Lib/DevExpress.Utils.v8.2.dll +0 -0
  496. data/spec/support/Tools/NDepend-v2.12/Lib/DevExpress.XtraBars.v8.2.dll +0 -0
  497. data/spec/support/Tools/NDepend-v2.12/Lib/DevExpress.XtraEditors.v8.2.dll +0 -0
  498. data/spec/support/Tools/NDepend-v2.12/Lib/DevExpress.XtraNavBar.v8.2.dll +0 -0
  499. data/spec/support/Tools/NDepend-v2.12/Lib/EnvDTE.dll +0 -0
  500. data/spec/support/Tools/NDepend-v2.12/Lib/Microsoft.Msagl.Drawing.dll +0 -0
  501. data/spec/support/Tools/NDepend-v2.12/Lib/Microsoft.Msagl.GraphViewerGdi.dll +0 -0
  502. data/spec/support/Tools/NDepend-v2.12/Lib/Microsoft.Msagl.GraphViewerGdi.dll.config +0 -3
  503. data/spec/support/Tools/NDepend-v2.12/Lib/Microsoft.Msagl.dll +0 -0
  504. data/spec/support/Tools/NDepend-v2.12/Lib/Microsoft.VisualStudio.OLE.Interop.dll +0 -0
  505. data/spec/support/Tools/NDepend-v2.12/Lib/Microsoft.VisualStudio.Shell.Interop.dll +0 -0
  506. data/spec/support/Tools/NDepend-v2.12/Lib/Microsoft.VisualStudio.Shell.dll +0 -0
  507. data/spec/support/Tools/NDepend-v2.12/Lib/Mono.Cecil.Pdb.dll +0 -0
  508. data/spec/support/Tools/NDepend-v2.12/Lib/Mono.Cecil.dll +0 -0
  509. data/spec/support/Tools/NDepend-v2.12/Lib/NDepend.AddIn.dll +0 -0
  510. data/spec/support/Tools/NDepend-v2.12/Lib/NDepend.Analysis.dll +0 -0
  511. data/spec/support/Tools/NDepend-v2.12/Lib/NDepend.CQL.dll +0 -0
  512. data/spec/support/Tools/NDepend-v2.12/Lib/NDepend.Framework.dll +0 -0
  513. data/spec/support/Tools/NDepend-v2.12/Lib/NDepend.Platform.DotNet.dll +0 -0
  514. data/spec/support/Tools/NDepend-v2.12/Lib/NDepend.Skins.dll +0 -0
  515. data/spec/support/Tools/NDepend-v2.12/Lib/NDepend.UI.dll +0 -0
  516. data/spec/support/Tools/NDepend-v2.12/Lib/msvcp71.dll +0 -0
  517. data/spec/support/Tools/NDepend-v2.12/Lib/msvcr71.dll +0 -0
  518. data/spec/support/Tools/NDepend-v2.12/NDepend.Console.exe +0 -0
  519. data/spec/support/Tools/NDepend-v2.12/NDepend.Console.exe.config +0 -8
  520. data/spec/support/Tools/NDepend-v2.12/QuickStartTutorial_NDepend.txt +0 -152
  521. data/spec/support/Tools/NDepend-v2.12/VisualNDepend.exe +0 -0
  522. data/spec/support/Tools/NUnit-v2.5/NUnitFitTests.html +0 -277
  523. data/spec/support/Tools/NUnit-v2.5/NUnitTests.config +0 -84
  524. data/spec/support/Tools/NUnit-v2.5/NUnitTests.nunit +0 -14
  525. data/spec/support/Tools/NUnit-v2.5/TestResult.xml +0 -32
  526. data/spec/support/Tools/NUnit-v2.5/agent.conf +0 -4
  527. data/spec/support/Tools/NUnit-v2.5/agent.log.conf +0 -18
  528. data/spec/support/Tools/NUnit-v2.5/clr.bat +0 -96
  529. data/spec/support/Tools/NUnit-v2.5/framework/nunit.framework.dll +0 -0
  530. data/spec/support/Tools/NUnit-v2.5/framework/nunit.framework.xml +0 -10088
  531. data/spec/support/Tools/NUnit-v2.5/framework/nunit.mocks.dll +0 -0
  532. data/spec/support/Tools/NUnit-v2.5/framework/pnunit.framework.dll +0 -0
  533. data/spec/support/Tools/NUnit-v2.5/launcher.log.conf +0 -18
  534. data/spec/support/Tools/NUnit-v2.5/lib/Failure.png +0 -0
  535. data/spec/support/Tools/NUnit-v2.5/lib/Ignored.png +0 -0
  536. data/spec/support/Tools/NUnit-v2.5/lib/Inconclusive.png +0 -0
  537. data/spec/support/Tools/NUnit-v2.5/lib/Skipped.png +0 -0
  538. data/spec/support/Tools/NUnit-v2.5/lib/Success.png +0 -0
  539. data/spec/support/Tools/NUnit-v2.5/lib/fit.dll +0 -0
  540. data/spec/support/Tools/NUnit-v2.5/lib/log4net.dll +0 -0
  541. data/spec/support/Tools/NUnit-v2.5/lib/nunit-console-runner.dll +0 -0
  542. data/spec/support/Tools/NUnit-v2.5/lib/nunit-gui-runner.dll +0 -0
  543. data/spec/support/Tools/NUnit-v2.5/lib/nunit.core.dll +0 -0
  544. data/spec/support/Tools/NUnit-v2.5/lib/nunit.core.interfaces.dll +0 -0
  545. data/spec/support/Tools/NUnit-v2.5/lib/nunit.fixtures.dll +0 -0
  546. data/spec/support/Tools/NUnit-v2.5/lib/nunit.uiexception.dll +0 -0
  547. data/spec/support/Tools/NUnit-v2.5/lib/nunit.uikit.dll +0 -0
  548. data/spec/support/Tools/NUnit-v2.5/lib/nunit.util.dll +0 -0
  549. data/spec/support/Tools/NUnit-v2.5/nunit-agent.exe +0 -0
  550. data/spec/support/Tools/NUnit-v2.5/nunit-agent.exe.config +0 -87
  551. data/spec/support/Tools/NUnit-v2.5/nunit-console-x86.exe +0 -0
  552. data/spec/support/Tools/NUnit-v2.5/nunit-console-x86.exe.config +0 -87
  553. data/spec/support/Tools/NUnit-v2.5/nunit-console.exe +0 -0
  554. data/spec/support/Tools/NUnit-v2.5/nunit-console.exe.config +0 -87
  555. data/spec/support/Tools/NUnit-v2.5/nunit-x86.exe +0 -0
  556. data/spec/support/Tools/NUnit-v2.5/nunit-x86.exe.config +0 -95
  557. data/spec/support/Tools/NUnit-v2.5/nunit.exe +0 -0
  558. data/spec/support/Tools/NUnit-v2.5/nunit.exe.config +0 -95
  559. data/spec/support/Tools/NUnit-v2.5/nunit.framework.dll +0 -0
  560. data/spec/support/Tools/NUnit-v2.5/pnunit-agent.exe +0 -0
  561. data/spec/support/Tools/NUnit-v2.5/pnunit-agent.exe.config +0 -87
  562. data/spec/support/Tools/NUnit-v2.5/pnunit-launcher.exe +0 -0
  563. data/spec/support/Tools/NUnit-v2.5/pnunit-launcher.exe.config +0 -87
  564. data/spec/support/Tools/NUnit-v2.5/pnunit.framework.dll +0 -0
  565. data/spec/support/Tools/NUnit-v2.5/pnunit.tests.dll +0 -0
  566. data/spec/support/Tools/NUnit-v2.5/runFile.exe +0 -0
  567. data/spec/support/Tools/NUnit-v2.5/runFile.exe.config +0 -43
  568. data/spec/support/Tools/NUnit-v2.5/runpnunit.bat +0 -2
  569. data/spec/support/Tools/NUnit-v2.5/test.conf +0 -24
  570. data/spec/support/Tools/PartCover-v2.3/Interop.PartCover.dll +0 -0
  571. data/spec/support/Tools/PartCover-v2.3/PartCover Browser Manual.rtf +0 -28853
  572. data/spec/support/Tools/PartCover-v2.3/PartCover Console Manual.rtf +0 -203
  573. data/spec/support/Tools/PartCover-v2.3/PartCover.Browser.Api.dll +0 -0
  574. data/spec/support/Tools/PartCover-v2.3/PartCover.Browser.exe +0 -0
  575. data/spec/support/Tools/PartCover-v2.3/PartCover.Browser.exe.config +0 -51
  576. data/spec/support/Tools/PartCover-v2.3/PartCover.CorDriver.dll +0 -0
  577. data/spec/support/Tools/PartCover-v2.3/PartCover.Framework.dll +0 -0
  578. data/spec/support/Tools/PartCover-v2.3/PartCover.exe +0 -0
  579. data/spec/support/Tools/PartCover-v2.3/PartCover.exe.config +0 -4
  580. data/spec/support/Tools/PartCover-v2.3/PartViewer.dll +0 -0
  581. data/spec/support/Tools/PartCover-v2.3/app.ico +0 -0
  582. data/spec/support/Tools/PartCover-v2.3/log4net.dll +0 -0
  583. data/spec/support/Tools/PartCover-v2.3/xslt/Report By Assembly.xslt +0 -54
  584. data/spec/support/Tools/PartCover-v2.3/xslt/Report By Class.xslt +0 -52
  585. data/spec/support/Tools/SpecFlow/Antlr3.Runtime.dll +0 -0
  586. data/spec/support/Tools/SpecFlow/Interop.SHDocVw.dll +0 -0
  587. data/spec/support/Tools/SpecFlow/TechTalk.SpecFlow.Generator.dll +0 -0
  588. data/spec/support/Tools/SpecFlow/TechTalk.SpecFlow.Parser.dll +0 -0
  589. data/spec/support/Tools/SpecFlow/TechTalk.SpecFlow.Reporting.dll +0 -0
  590. data/spec/support/Tools/SpecFlow/TechTalk.SpecFlow.VsIntegration.dll +0 -0
  591. data/spec/support/Tools/SpecFlow/TechTalk.SpecFlow.dll +0 -0
  592. data/spec/support/Tools/SpecFlow/TechTalk.SpecFlow.targets +0 -58
  593. data/spec/support/Tools/SpecFlow/TechTalk.SpecFlow.tasks +0 -17
  594. data/spec/support/Tools/SpecFlow/changelog.txt +0 -50
  595. data/spec/support/Tools/SpecFlow/specflow.exe +0 -0
  596. data/spec/support/Tools/XUnit-v1.9/EULA.txt +0 -29
  597. data/spec/support/Tools/XUnit-v1.9/HTML.xslt +0 -126
  598. data/spec/support/Tools/XUnit-v1.9/NUnitXml.xslt +0 -121
  599. data/spec/support/Tools/XUnit-v1.9/xunit.console.clr4.exe +0 -0
  600. data/spec/support/Tools/XUnit-v1.9/xunit.console.clr4.exe.config +0 -21
  601. data/spec/support/Tools/XUnit-v1.9/xunit.console.clr4.x86.exe +0 -0
  602. data/spec/support/Tools/XUnit-v1.9/xunit.console.clr4.x86.exe.config +0 -21
  603. data/spec/support/Tools/XUnit-v1.9/xunit.console.exe +0 -0
  604. data/spec/support/Tools/XUnit-v1.9/xunit.console.exe.config +0 -21
  605. data/spec/support/Tools/XUnit-v1.9/xunit.console.x86.exe +0 -0
  606. data/spec/support/Tools/XUnit-v1.9/xunit.console.x86.exe.config +0 -21
  607. data/spec/support/Tools/XUnit-v1.9/xunit.dll +0 -0
  608. data/spec/support/Tools/XUnit-v1.9/xunit.dll.tdnet +0 -5
  609. data/spec/support/Tools/XUnit-v1.9/xunit.extensions.dll +0 -0
  610. data/spec/support/Tools/XUnit-v1.9/xunit.extensions.xml +0 -805
  611. data/spec/support/Tools/XUnit-v1.9/xunit.gui.clr4.exe +0 -0
  612. data/spec/support/Tools/XUnit-v1.9/xunit.gui.clr4.x86.exe +0 -0
  613. data/spec/support/Tools/XUnit-v1.9/xunit.gui.exe +0 -0
  614. data/spec/support/Tools/XUnit-v1.9/xunit.gui.x86.exe +0 -0
  615. data/spec/support/Tools/XUnit-v1.9/xunit.installer.exe +0 -0
  616. data/spec/support/Tools/XUnit-v1.9/xunit.runner.msbuild.dll +0 -0
  617. data/spec/support/Tools/XUnit-v1.9/xunit.runner.tdnet.dll +0 -0
  618. data/spec/support/Tools/XUnit-v1.9/xunit.runner.utility.dll +0 -0
  619. data/spec/support/Tools/XUnit-v1.9/xunit.runner.utility.xml +0 -1212
  620. data/spec/support/Tools/XUnit-v1.9/xunit.xml +0 -2604
  621. data/spec/support/assemblyinfotester.rb +0 -52
  622. data/spec/support/csc/File1.cs +0 -9
  623. data/spec/support/csc/File2.cs +0 -9
  624. data/spec/support/csc/output/ignorethis.txt +0 -1
  625. data/spec/support/ironruby_validator.rb +0 -26
  626. data/spec/support/msbuildtestdata.rb +0 -32
  627. data/spec/support/nanttestdata.rb +0 -33
  628. data/spec/support/ncoverconsoletestdata.rb +0 -20
  629. data/spec/support/ncoverreporttestdata.rb +0 -26
  630. data/spec/support/nokogiri_validator.rb +0 -15
  631. data/spec/support/nuspec/nuspec.xsd +0 -84
  632. data/spec/support/outputtestdata.rb +0 -13
  633. data/spec/support/test.yml +0 -4
  634. data/spec/support/yamlconfig/msbuild.yml +0 -5
  635. data/spec/support/yamlconfig/yaml_autoconfig_test.yml +0 -1
  636. data/spec/support/zip/files/subfolder/sub file.txt +0 -1
  637. data/spec/support/zip/files/testfile.txt +0 -1
  638. data/spec/support/ziptestdata.rb +0 -13
  639. data/spec/unzip_spec.rb +0 -15
  640. data/spec/xbuild_spec.rb +0 -15
  641. data/spec/xunit_spec.rb +0 -200
  642. data/spec/yamlconfig_spec.rb +0 -49
  643. data/spec/zip_spec.rb +0 -160
@@ -1,287 +0,0 @@
1
- require 'spec_helper'
2
- require 'albacore/msbuild'
3
- require 'albacore/config/msbuildconfig'
4
- require 'msbuildtestdata'
5
-
6
- shared_context "prepping msbuild" do
7
- before :all do
8
- @testdata = MSBuildTestData.new
9
- @msbuild = @testdata.msbuild
10
- @strio = StringIO.new
11
- @msbuild.log_device = @strio
12
- @msbuild.log_level = :diagnostic
13
- @msbuild.properties :platform => 'Any CPU'
14
- end
15
- end
16
-
17
- describe MSBuild, "when building a solution with verbose logging turned on" do
18
- include_context "prepping msbuild"
19
-
20
- before :all do
21
- @msbuild.solution = @testdata.solution_path
22
- @strio = StringIO.new
23
- @msbuild.log_device = @strio
24
- @msbuild.log_level = :verbose
25
- @msbuild.execute
26
-
27
- @log_data = @strio.string
28
- end
29
-
30
- it "should log the msbuild command line being called" do
31
- com = @log_data.downcase().should include("Executing MSBuild: \"C:/Windows/Microsoft.NET/Framework/v4.0.30319/MSBuild.exe\"".downcase())
32
- end
33
- end
34
-
35
- describe MSBuild, "when building with no solution specified" do
36
- include_context "prepping msbuild"
37
-
38
- before :all do
39
- @msbuild.extend(FailPatch)
40
- @msbuild.execute
41
- @log_data = @strio.string
42
- end
43
-
44
- it "should log an error message saying the output file is required" do
45
- @log_data.should include("solution cannot be nil")
46
- end
47
- end
48
-
49
- describe MSBuild, "when an msbuild path is not specified" do
50
- before :all do
51
- @testdata = MSBuildTestData.new
52
- @msbuild = @testdata.msbuild
53
- end
54
-
55
- it "should default to the .net framework v4" do
56
- @msbuild.command.downcase().should == @testdata.msbuild_path.downcase()
57
- end
58
- end
59
-
60
- describe MSBuild, "when an msbuild path is specified" do
61
- before :all do
62
- @testdata = MSBuildTestData.new
63
- @msbuild = @testdata.msbuild "Some Path"
64
- end
65
-
66
- it "should use the specified path for the msbuild exe" do
67
- @msbuild.command.should == "Some Path"
68
- end
69
- end
70
-
71
- describe MSBuild, "when msbuild is configured to use a specific .net version" do
72
- before :all do
73
- Albacore.configure do |config|
74
- config.msbuild.use :net35
75
- end
76
- @testdata = MSBuildTestData.new
77
- @msbuild = @testdata.msbuild
78
- end
79
-
80
- it "should use the configured version" do
81
- win_dir = ENV['windir'] || ENV['WINDIR'] || "C:/Windows"
82
- @msbuild.command.should == File.join(win_dir.dup, 'Microsoft.NET', 'Framework', 'v3.5', 'MSBuild.exe')
83
- end
84
- end
85
-
86
- describe MSBuild, "when msbuild is configured to use a specific .net version, and overriding for a specific instance" do
87
- before :all do
88
- Albacore.configure do |config|
89
- config.msbuild.use :net35
90
- end
91
- @testdata = MSBuildTestData.new
92
- @msbuild = @testdata.msbuild
93
- @msbuild.use :net40
94
- end
95
-
96
- it "should use the override version" do
97
- win_dir = ENV['windir'] || ENV['WINDIR'] || "C:/Windows"
98
- @msbuild.command.should == File.join(win_dir.dup, 'Microsoft.NET', 'Framework', 'v4.0.30319', 'MSBuild.exe')
99
- end
100
- end
101
-
102
- describe MSBuild, "when building a visual studio solution" do
103
- include_context "prepping msbuild"
104
-
105
- before :all do
106
- @msbuild.solution = @testdata.solution_path
107
- @msbuild.execute
108
- end
109
-
110
- it "should output the solution's binaries" do
111
- File.exist?(@testdata.output_path).should == true
112
- end
113
- end
114
-
115
- describe MSBuild, "when building a visual studio solution with a single target" do
116
- include_context "prepping msbuild"
117
-
118
- before :all do
119
- @msbuild.solution = @testdata.solution_path
120
- @msbuild.targets :Rebuild
121
- @msbuild.execute
122
- end
123
-
124
- it "should output the solution's binaries" do
125
- File.exist?(@testdata.output_path).should == true
126
- end
127
- end
128
-
129
- describe MSBuild, "when building a visual studio solution for a specified configuration" do
130
- before :all do
131
- @testdata= MSBuildTestData.new("Release")
132
- @msbuild = @testdata.msbuild
133
-
134
- @msbuild.properties :configuration => :Release, :platform => 'Any CPU'
135
- @msbuild.solution = @testdata.solution_path
136
- @msbuild.execute
137
- end
138
-
139
- it "should build with the specified configuration as a property" do
140
- @msbuild.system_command.should include("/p:configuration=\"Release\"")
141
- end
142
-
143
- it "should output the solution's binaries according to the specified configuration" do
144
- File.exist?(@testdata.output_path).should be_true
145
- end
146
- end
147
-
148
- describe MSBuild, "when specifying targets to build" do
149
- include_context "prepping msbuild"
150
-
151
- before :all do
152
- @msbuild.targets :Clean, :Build
153
- @msbuild.solution = @testdata.solution_path
154
- @msbuild.execute
155
- end
156
-
157
- it "should build the targets" do
158
- @msbuild.system_command.should include("/target:Clean;Build")
159
- end
160
-
161
- end
162
-
163
- describe MSBuild, "when building a solution with a specific msbuild verbosity" do
164
- include_context "prepping msbuild"
165
-
166
- before :all do
167
- @msbuild.verbosity = "normal"
168
- @msbuild.solution = @testdata.solution_path
169
- @msbuild.execute
170
- end
171
-
172
- it "should call msbuild with the specified verbosity" do
173
- @msbuild.system_command.should include("/verbosity:normal")
174
- end
175
- end
176
-
177
- describe MSBuild, "when specifying multiple configuration properties" do
178
- include_context "prepping msbuild"
179
-
180
- before :all do
181
- File.delete(@testdata.output_path) if File.exist?(@testdata.output_path)
182
-
183
- @msbuild.targets :Clean, :Build
184
- @msbuild.properties :configuration => :Debug, :DebugSymbols => true, :platform => 'Any CPU'
185
- @msbuild.solution = @testdata.solution_path
186
- @msbuild.execute
187
- end
188
-
189
- it "should specify the first property" do
190
- @msbuild.system_command.should include("/p:configuration=\"Debug\"")
191
- end
192
-
193
- it "should specifiy the second property" do
194
- @msbuild.system_command.should include("/p:DebugSymbols=\"true\"")
195
- end
196
-
197
- it "should output the solution's binaries" do
198
- File.exist?(@testdata.output_path).should == true
199
- end
200
- end
201
-
202
- describe MSBuild, "when specifying a loggermodule" do
203
- include_context "prepping msbuild"
204
-
205
- before :all do
206
- @msbuild.solution = @testdata.solution_path
207
- @msbuild.loggermodule = "FileLogger,Microsoft.Build.Engine;logfile=MyLog.log"
208
- @msbuild.execute
209
-
210
- @log_data = @strio.string
211
- end
212
-
213
- it "should log the msbuild logger being used" do
214
- puts @msbuild.system_command
215
- @msbuild.system_command.should include("/logger:FileLogger,Microsoft.Build.Engine;logfile=MyLog.log")
216
- end
217
- end
218
-
219
- describe MSBuild, "when specifying nologo" do
220
- include_context "prepping msbuild"
221
-
222
- before :all do
223
- @msbuild.nologo
224
- @msbuild.solution = @testdata.solution_path
225
- @msbuild.execute
226
- end
227
-
228
- it "should call msbuild with nologo option" do
229
- @msbuild.system_command.should include("/nologo")
230
- end
231
- end
232
-
233
- describe MSBuild, "when specifying max cpu count" do
234
- include_context "prepping msbuild"
235
-
236
- before :all do
237
- @msbuild.max_cpu_count = 2
238
- @msbuild.solution = @testdata.solution_path
239
- @msbuild.execute
240
- end
241
-
242
- it "should call msbuild with maxcpucount option set" do
243
- @msbuild.system_command.should include("/maxcpucount:2")
244
- end
245
- end
246
-
247
- describe MSBuild, "when including a TrueClass switch" do
248
- include_context "prepping msbuild"
249
-
250
- before :all do
251
- @msbuild.other_switches :noconsolelogger => true
252
- @msbuild.solution = @testdata.solution_path
253
- @msbuild.execute
254
- end
255
-
256
- it 'should call msbuild with the noconsolelogger switch' do
257
- @msbuild.system_command.should include('/noconsolelogger')
258
- end
259
- end
260
-
261
- describe MSBuild, "when including a true symbol switch" do
262
- include_context "prepping msbuild"
263
-
264
- before :all do
265
- @msbuild.other_switches :noconsolelogger => :true
266
- @msbuild.solution = @testdata.solution_path
267
- @msbuild.execute
268
- end
269
-
270
- it 'should call msbuild with the noconsolelogger switch' do
271
- @msbuild.system_command.should include('/noconsolelogger')
272
- end
273
- end
274
-
275
- describe MSBuild, "when including a switch with value" do
276
- include_context "prepping msbuild"
277
-
278
- before :all do
279
- @msbuild.other_switches :toolsVersion => 3.5
280
- @msbuild.solution = @testdata.solution_path
281
- @msbuild.execute
282
- end
283
-
284
- it 'should call msbuild with the noconsolelogger switch' do
285
- @msbuild.system_command.should include("/toolsVersion:\"3.5\"")
286
- end
287
- end
@@ -1,124 +0,0 @@
1
- require 'spec_helper'
2
- require 'albacore/msdeploy'
3
-
4
- describe MSDeploy, "Deploying a package without specifying anything" do
5
- before :each do
6
- @msdeploy = MSDeploy.new
7
- @msdeploy.extend(SystemPatch)
8
- end
9
-
10
- it "Should raise excecption as package is not in the CWD" do
11
- lambda {@msdeploy.execute}.should raise_error(RuntimeError ,"Could not find the MSDeploy package to deploy.")
12
- end
13
- end
14
-
15
- describe MSDeploy, "Deploying a package from a folder" do
16
-
17
- before :each do
18
- @msdeploy = MSDeploy.new
19
- @msdeploy.deploy_package = "spec\\support\\TestSolution\\TestSolution.MSDeploy\\TestSolution.MSDeploy\\obj\\Release\\Package"
20
- @msdeploy.noop = true
21
- @msdeploy.extend(SystemPatch)
22
- end
23
-
24
- it "should deploy locally" do
25
- lambda {@msdeploy.execute}.should_not raise_error(RuntimeError ,"MSDeploy Failed. See build log for details")
26
- @msdeploy.system_command.scan(/-whatif/).length.should be(1)
27
- end
28
-
29
- it "with username, password and server, should fail as that is not a valid username/password or server" do
30
- @msdeploy.username = "testname"
31
- @msdeploy.password = "testpasssword"
32
- @msdeploy.server = "testserver"
33
- #assert
34
- lambda {@msdeploy.execute}.should raise_error(RuntimeError ,"MSDeploy Failed. See build log for details")
35
- @msdeploy.system_command.scan(/computerName='testserver',userName='testname',password='testpasssword'/).length.should be(1)
36
- end
37
- end
38
-
39
- describe MSDeploy, "Deploying a package from a folder with a zip" do
40
- before :each do
41
- @msdeploy = MSDeploy.new
42
- @msdeploy.extend(SystemPatch)
43
- @msdeploy.noop = true
44
- @msdeploy.deploy_package = "spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/obj/Debug/Package"
45
- end
46
-
47
- it "should deploy locally" do
48
- lambda {@msdeploy.execute}.should_not raise_error(RuntimeError ,"MSDeploy Failed. See build log for details")
49
- @msdeploy.system_command.scan(/-whatif/).length.should be(1)
50
- @msdeploy.system_command.scan(/TestSolution.MSDeploy.zip/).length.should be(1)
51
- end
52
-
53
- it "with username, password and server, should fail as that is not a valid username/password or server" do
54
- @msdeploy.username = "testname"
55
- @msdeploy.password = "testpasssword"
56
- @msdeploy.server = "testserver"
57
- #assert
58
- lambda {@msdeploy.execute}.should raise_error(RuntimeError ,"MSDeploy Failed. See build log for details")
59
- @msdeploy.system_command.scan(/computerName='testserver',userName='testname',password='testpasssword'/).length.should be(1)
60
- end
61
-
62
- it "with aditional parameters" do
63
- @msdeploy.additional_parameters = "-usechecksum"
64
- lambda {@msdeploy.execute}.should_not raise_error(RuntimeError ,"MSDeploy Failed. See build log for details")
65
- @msdeploy.system_command.scan(/-usechecksum/).length.should be(1)
66
- end
67
-
68
- it "with specifying a parameter file" do
69
- @msdeploy.parameters_file = "spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/obj/Debug/Package/TestSolution.MSDeploy.SetParameters.xml"
70
- lambda {@msdeploy.execute}.should_not raise_error(RuntimeError ,"MSDeploy Failed. See build log for details")
71
- @msdeploy.system_command.scan(/-setParamFile:/).length.should be(1)
72
- @msdeploy.system_command.scan(/TestSolution.MSDeploy.SetParameters.xml/).length.should be(1)
73
- end
74
-
75
- it "With specifying a bad parameter file, will throw an exception" do
76
- @msdeploy.parameters_file = "spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/TestSolution.MSDeploy.SetParameters.xml"
77
- lambda {@msdeploy.execute}.should raise_error(RuntimeError ,"Could not find parameter file specified.")
78
- end
79
- end
80
-
81
-
82
- describe MSDeploy, "Deploying a package from a zip file" do
83
- before :each do
84
- @msdeploy = MSDeploy.new
85
- @msdeploy.extend(SystemPatch)
86
- @msdeploy.noop = true
87
- @msdeploy.deploy_package = "spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/obj/Debug/Package/TestSolution.MSDeploy.zip"
88
- end
89
-
90
- it "should deploy locally" do
91
- lambda {@msdeploy.execute}.should_not raise_error(RuntimeError ,"MSDeploy Failed. See build log for details")
92
- p @msdeploy.deploy_package
93
- p @msdeploy.system_command
94
- @msdeploy.system_command.scan(/-whatif/).length.should be(1)
95
- @msdeploy.system_command.scan(/TestSolution.MSDeploy.zip/).length.should be(1)
96
- end
97
-
98
- it "with username, password and server, should fail as that is not a valid username/password or server" do
99
- @msdeploy.username = "testname"
100
- @msdeploy.password = "testpasssword"
101
- @msdeploy.server = "testserver"
102
- #assert
103
- lambda {@msdeploy.execute}.should raise_error(RuntimeError ,"MSDeploy Failed. See build log for details")
104
- @msdeploy.system_command.scan(/computerName='testserver',userName='testname',password='testpasssword'/).length.should be(1)
105
- end
106
-
107
- it "with aditional parameters" do
108
- @msdeploy.additional_parameters = "-usechecksum"
109
- lambda {@msdeploy.execute}.should_not raise_error(RuntimeError ,"MSDeploy Failed. See build log for details")
110
- @msdeploy.system_command.scan(/-usechecksum/).length.should be(1)
111
- end
112
-
113
- it "with specifying a parameter file" do
114
- @msdeploy.parameters_file = "spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/obj/Debug/Package/TestSolution.MSDeploy.SetParameters.xml"
115
- lambda {@msdeploy.execute}.should_not raise_error(RuntimeError ,"MSDeploy Failed. See build log for details")
116
- @msdeploy.system_command.scan(/-setParamFile:/).length.should be(1)
117
- @msdeploy.system_command.scan(/TestSolution.MSDeploy.SetParameters.xml/).length.should be(1)
118
- end
119
-
120
- it "With specifying a bad parameter file, will throw an exception" do
121
- @msdeploy.parameters_file = "spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/TestSolution.MSDeploy.SetParameters.xml"
122
- lambda {@msdeploy.execute}.should raise_error(RuntimeError ,"Could not find parameter file specified.")
123
- end
124
- end
@@ -1,28 +0,0 @@
1
- require 'spec_helper'
2
- require 'albacore/mspectestrunner'
3
-
4
- describe MSpecTestRunner, "when providing configuration" do
5
- let :mspec do
6
- Albacore.configure do |config|
7
- config.mspec.command = "test"
8
- end
9
- mspec = MSpecTestRunner.new
10
- end
11
-
12
- it "should use the configured values" do
13
- mspec.command.should == "test"
14
- end
15
- end
16
-
17
- describe MSpecTestRunner, "when overriding the command through the initializer" do
18
- let :mspec do
19
- Albacore.configure do |config|
20
- config.mspec.command = "configured"
21
- end
22
- mspec = MSpecTestRunner.new("override")
23
- end
24
-
25
- it "should use the command override" do
26
- mspec.command.should == "override"
27
- end
28
- end
@@ -1,144 +0,0 @@
1
- require 'spec_helper'
2
- require 'albacore/mstesttestrunner'
3
-
4
- shared_context "mstest paths" do
5
- before :all do
6
- @mstestpath = File.join(File.dirname(__FILE__), 'support', 'Tools', 'MSTest-2010', 'mstest.exe')
7
- @test_assembly = File.join(File.expand_path(File.dirname(__FILE__)), 'support', 'CodeCoverage', 'mstest', 'TestSolution.MSTestTests.NET40.dll')
8
- @test_option = "/test:Test /noisolation /noresults"
9
- end
10
- end
11
-
12
- describe MSTestTestRunner, "the command parameters for an mstest runner" do
13
- include_context "mstest paths"
14
-
15
- before :all do
16
- mstest = MSTestTestRunner.new(@mstestpath)
17
- mstest.assemblies @test_assembly
18
- mstest.options @test_option
19
- mstest.tests 'APassingTest', 'AFailingTest'
20
-
21
- @command_parameters = mstest.get_command_parameters
22
- end
23
-
24
- it "should not include the path to the command" do
25
- @command_parameters.should_not include(@mstestpath)
26
- end
27
-
28
- it "should include the list of assemblies" do
29
- @command_parameters.should include("/testcontainer:\"#{@test_assembly}\"")
30
- end
31
-
32
- it "should include the specific set of tests" do
33
- @command_parameters.should include("/test:APassingTest /test:AFailingTest")
34
- end
35
-
36
- it "should include the list of options" do
37
- @command_parameters.should include(@test_option)
38
- end
39
- end
40
-
41
- describe MSTestTestRunner, "the command line string for an mstest runner" do
42
- include_context "mstest paths"
43
-
44
- before :all do
45
- mstest = MSTestTestRunner.new(@mstestpath)
46
- mstest.assemblies @test_assembly
47
-
48
- @command_line = mstest.get_command_line
49
- @command_parameters = mstest.get_command_parameters.join(" ")
50
- end
51
-
52
- it "should start with the path to the command" do
53
- @command_line.split(" ").first.should == @mstestpath
54
- end
55
-
56
- it "should include the command parameters" do
57
- @command_line.should include(@command_parameters)
58
- end
59
- end
60
-
61
-
62
- describe MSTestTestRunner, "when configured correctly" do
63
- include_context "mstest paths"
64
-
65
- before :all do
66
- mstest = MSTestTestRunner.new(@mstestpath)
67
- mstest.extend(FailPatch)
68
- mstest.assemblies @test_assembly
69
- mstest.log_level = :verbose
70
- mstest.options "/noisolation /noresults"
71
- mstest.tests "APassingTest"
72
- mstest.execute
73
- end
74
-
75
- it "should execute" do
76
- $task_failed.should be_false
77
- end
78
- end
79
-
80
- describe MSTestTestRunner, "when configured correctly, but a test fails" do
81
- include_context "mstest paths"
82
-
83
- before :all do
84
- mstest = MSTestTestRunner.new(@mstestpath)
85
- mstest.extend(FailPatch)
86
- mstest.assemblies @test_assembly
87
- mstest.log_level = :verbose
88
- mstest.options "/noisolation /noresults"
89
- mstest.tests "AFailingTest"
90
- mstest.execute
91
- end
92
-
93
- it "should fail" do
94
- $task_failed.should be_true
95
- end
96
- end
97
-
98
- describe MSTestTestRunner, "when using the configuration command and not providing a command in the intializer" do
99
- include_context "mstest paths"
100
-
101
- before :all do
102
- Albacore.configure do |config|
103
- config.mstest.command = "configured command"
104
- end
105
- @mstest = MSTestTestRunner.new
106
- end
107
-
108
- it "should use the configuration command" do
109
- @mstest.command.should == "configured command"
110
- end
111
- end
112
-
113
- describe MSTestTestRunner, "when the command has been set through configuration and providing a command in the intializer" do
114
- include_context "mstest paths"
115
-
116
- before :all do
117
- Albacore.configure do |config|
118
- config.mstest.command = "configured command"
119
- end
120
- @mstest = MSTestTestRunner.new("initializer command")
121
- end
122
-
123
- it "should use the initializer command" do
124
- @mstest.command.should == "initializer command"
125
- end
126
- end
127
-
128
- describe MSTestTestRunner, "when configuration has been provided" do
129
- before :all do
130
- Albacore.configure do |config|
131
- config.mstest do |mstest|
132
- mstest.assemblies = ["foo.dll", "bar.dll"]
133
- mstest.options = ["/test"]
134
- end
135
- end
136
-
137
- @mstest = MSTestTestRunner.new
138
- end
139
-
140
- it "should use the provided configuration" do
141
- @mstest.assemblies.should == ["foo.dll", "bar.dll"]
142
- @mstest.options.should == ["/test"]
143
- end
144
- end