albacore 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. data/EULA.txt +19 -0
  2. data/README.markdown +70 -0
  3. data/VERSION +1 -0
  4. data/lib/albacore.rb +9 -0
  5. data/lib/albacore/assemblyinfo.rb +104 -0
  6. data/lib/albacore/expandtemplates.rb +64 -0
  7. data/lib/albacore/msbuild.rb +63 -0
  8. data/lib/albacore/mspectestrunner.rb +33 -0
  9. data/lib/albacore/ncoverconsole.rb +64 -0
  10. data/lib/albacore/ncoverreport.rb +61 -0
  11. data/lib/albacore/ncoverreports/assemblyfilter.rb +10 -0
  12. data/lib/albacore/ncoverreports/branchcoverage.rb +10 -0
  13. data/lib/albacore/ncoverreports/classfilter.rb +9 -0
  14. data/lib/albacore/ncoverreports/codecoveragebase.rb +25 -0
  15. data/lib/albacore/ncoverreports/cyclomaticcomplexity.rb +23 -0
  16. data/lib/albacore/ncoverreports/documentfilter.rb +9 -0
  17. data/lib/albacore/ncoverreports/fullcoveragereport.rb +21 -0
  18. data/lib/albacore/ncoverreports/methodcoverage.rb +10 -0
  19. data/lib/albacore/ncoverreports/methodfilter.rb +9 -0
  20. data/lib/albacore/ncoverreports/namespacefilter.rb +9 -0
  21. data/lib/albacore/ncoverreports/reportfilterbase.rb +26 -0
  22. data/lib/albacore/ncoverreports/summaryreport.rb +22 -0
  23. data/lib/albacore/ncoverreports/symbolcoverage.rb +10 -0
  24. data/lib/albacore/nunittestrunner.rb +38 -0
  25. data/lib/albacore/sftp.rb +24 -0
  26. data/lib/albacore/sqlcmd.rb +55 -0
  27. data/lib/albacore/ssh.rb +25 -0
  28. data/lib/albacore/support/albacore_helper.rb +4 -0
  29. data/lib/albacore/support/failure.rb +22 -0
  30. data/lib/albacore/support/logging.rb +32 -0
  31. data/lib/albacore/support/runcommand.rb +45 -0
  32. data/lib/albacore/support/yamlconfig.rb +30 -0
  33. data/lib/albacore/zipdirectory.rb +55 -0
  34. data/lib/rake/assemblyinfotask.rb +22 -0
  35. data/lib/rake/expandtemplatestask.rb +21 -0
  36. data/lib/rake/msbuildtask.rb +22 -0
  37. data/lib/rake/ncoverconsoletask.rb +22 -0
  38. data/lib/rake/ncoverreporttask.rb +22 -0
  39. data/lib/rake/nunittask.rb +22 -0
  40. data/lib/rake/renametask.rb +25 -0
  41. data/lib/rake/sftptask.rb +21 -0
  42. data/lib/rake/sqlcmdtask.rb +22 -0
  43. data/lib/rake/sshtask.rb +21 -0
  44. data/lib/rake/ziptask.rb +21 -0
  45. data/rakefile.rb +144 -0
  46. data/spec/assemblyinfo_spec.rb +246 -0
  47. data/spec/assemblyinfotask_spec.rb +31 -0
  48. data/spec/expandtemplates_spec.rb +127 -0
  49. data/spec/expandtemplatestask_spec.rb +31 -0
  50. data/spec/msbuild_spec.rb +173 -0
  51. data/spec/msbuildtask_spec.rb +31 -0
  52. data/spec/ncoverconsole_spec.rb +247 -0
  53. data/spec/ncoverconsoletask_spec.rb +31 -0
  54. data/spec/ncoverreport_spec.rb +577 -0
  55. data/spec/ncoverreporttask_spec.rb +31 -0
  56. data/spec/nunittask_spec.rb +31 -0
  57. data/spec/patches/system_patch.rb +16 -0
  58. data/spec/patches/tasklib_patch.rb +12 -0
  59. data/spec/renametask_spec.rb +30 -0
  60. data/spec/sftp_spec.rb +30 -0
  61. data/spec/sftptask_spec.rb +41 -0
  62. data/spec/sqlcmd_spec.rb +139 -0
  63. data/spec/sqlcmdtask_spec.rb +31 -0
  64. data/spec/ssh_spec.rb +48 -0
  65. data/spec/sshtask_spec.rb +39 -0
  66. data/spec/support/AssemblyInfo/assemblyinfo.yml +2 -0
  67. data/spec/support/CodeCoverage/mspec/assemblies/Machine.Specifications.NUnit.dll +0 -0
  68. data/spec/support/CodeCoverage/mspec/assemblies/Machine.Specifications.dll +0 -0
  69. data/spec/support/CodeCoverage/mspec/assemblies/TestSolution.MSpecTests.dll +0 -0
  70. data/spec/support/CodeCoverage/mspec/assemblies/TestSolution.dll +0 -0
  71. data/spec/support/CodeCoverage/mspec/assemblies/nunit.framework.dll +0 -0
  72. data/spec/support/CodeCoverage/nunit/assemblies/TestSolution.Tests.dll +0 -0
  73. data/spec/support/CodeCoverage/nunit/assemblies/TestSolution.dll +0 -0
  74. data/spec/support/CodeCoverage/nunit/assemblies/nunit.framework.dll +0 -0
  75. data/spec/support/CodeCoverage/nunit/failing_assemblies/TestSolution.FailingTests.dll +0 -0
  76. data/spec/support/CodeCoverage/nunit/failing_assemblies/nunit.framework.dll +0 -0
  77. data/spec/support/CodeCoverage/report/coverage.xml +4578 -0
  78. data/spec/support/TestSolution/TestSolution.FailingTests/FailingTestFixture.cs +19 -0
  79. data/spec/support/TestSolution/TestSolution.FailingTests/Properties/AssemblyInfo.cs +36 -0
  80. data/spec/support/TestSolution/TestSolution.FailingTests/TestSolution.FailingTests.csproj +63 -0
  81. data/spec/support/TestSolution/TestSolution.MSpecTests/Properties/AssemblyInfo.cs +36 -0
  82. data/spec/support/TestSolution/TestSolution.MSpecTests/SomeSpecTest.cs +18 -0
  83. data/spec/support/TestSolution/TestSolution.MSpecTests/TestSolution.MSpecTests.csproj +77 -0
  84. data/spec/support/TestSolution/TestSolution.Tests/Properties/AssemblyInfo.cs +36 -0
  85. data/spec/support/TestSolution/TestSolution.Tests/SomeTestFixture.cs +23 -0
  86. data/spec/support/TestSolution/TestSolution.Tests/TestSolution.Tests.csproj +69 -0
  87. data/spec/support/TestSolution/TestSolution.sln +38 -0
  88. data/spec/support/TestSolution/TestSolution/Class1.cs +17 -0
  89. data/spec/support/TestSolution/TestSolution/Properties/AssemblyInfo.cs +36 -0
  90. data/spec/support/TestSolution/TestSolution/TestSolution.csproj +59 -0
  91. data/spec/support/assemblyinfotester.rb +42 -0
  92. data/spec/support/expandtemplates/datafiles/multiplevalues.yml +3 -0
  93. data/spec/support/expandtemplates/datafiles/multitemplate-specificfile.yml +11 -0
  94. data/spec/support/expandtemplates/datafiles/multitemplate.yml +4 -0
  95. data/spec/support/expandtemplates/datafiles/sample.yml +1 -0
  96. data/spec/support/expandtemplates/templates/multipleinstance.config +4 -0
  97. data/spec/support/expandtemplates/templates/multiplevalues.config +1 -0
  98. data/spec/support/expandtemplates/templates/sample.config +1 -0
  99. data/spec/support/expandtemplatestestdata.rb +69 -0
  100. data/spec/support/msbuildtestdata.rb +32 -0
  101. data/spec/support/ncoverreporttestdata.rb +26 -0
  102. data/spec/support/spec_helper.rb +15 -0
  103. data/spec/support/test.yml +4 -0
  104. data/spec/support/zip/files/subfolder/sub file.txt +1 -0
  105. data/spec/support/zip/files/testfile.txt +1 -0
  106. data/spec/support/ziptestdata.rb +8 -0
  107. data/spec/yamlconfig_spec.rb +62 -0
  108. data/spec/zip_spec.rb +18 -0
  109. data/spec/ziptask_spec.rb +31 -0
  110. data/yaml_autoconfig_test.yml +1 -0
  111. metadata +262 -0
@@ -0,0 +1,19 @@
1
+ using System;
2
+ using System.Collections.Generic;
3
+ using System.Linq;
4
+ using System.Text;
5
+ using NUnit.Framework;
6
+
7
+ namespace TestSolution.FailingTests
8
+ {
9
+ [TestFixture]
10
+ public class FailingTestFixture
11
+ {
12
+
13
+ [Test]
14
+ public void FailingTest()
15
+ {
16
+ Assert.Fail("I'm A Failing Test!");
17
+ }
18
+ }
19
+ }
@@ -0,0 +1,36 @@
1
+ using System.Reflection;
2
+ using System.Runtime.CompilerServices;
3
+ using System.Runtime.InteropServices;
4
+
5
+ // General Information about an assembly is controlled through the following
6
+ // set of attributes. Change these attribute values to modify the information
7
+ // associated with an assembly.
8
+ [assembly: AssemblyTitle("TestSolution.FailingTests")]
9
+ [assembly: AssemblyDescription("")]
10
+ [assembly: AssemblyConfiguration("")]
11
+ [assembly: AssemblyCompany("")]
12
+ [assembly: AssemblyProduct("TestSolution.FailingTests")]
13
+ [assembly: AssemblyCopyright("Copyright © 2009")]
14
+ [assembly: AssemblyTrademark("")]
15
+ [assembly: AssemblyCulture("")]
16
+
17
+ // Setting ComVisible to false makes the types in this assembly not visible
18
+ // to COM components. If you need to access a type in this assembly from
19
+ // COM, set the ComVisible attribute to true on that type.
20
+ [assembly: ComVisible(false)]
21
+
22
+ // The following GUID is for the ID of the typelib if this project is exposed to COM
23
+ [assembly: Guid("ba25e11c-9bbb-4787-8fd2-5a648d84a54b")]
24
+
25
+ // Version information for an assembly consists of the following four values:
26
+ //
27
+ // Major Version
28
+ // Minor Version
29
+ // Build Number
30
+ // Revision
31
+ //
32
+ // You can specify all the values or you can default the Build and Revision Numbers
33
+ // by using the '*' as shown below:
34
+ // [assembly: AssemblyVersion("1.0.*")]
35
+ [assembly: AssemblyVersion("1.0.0.0")]
36
+ [assembly: AssemblyFileVersion("1.0.0.0")]
@@ -0,0 +1,63 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+ <PropertyGroup>
4
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6
+ <ProductVersion>9.0.30729</ProductVersion>
7
+ <SchemaVersion>2.0</SchemaVersion>
8
+ <ProjectGuid>{8D680D34-363A-4AB4-BC8B-ECA28AFE1D46}</ProjectGuid>
9
+ <OutputType>Library</OutputType>
10
+ <AppDesignerFolder>Properties</AppDesignerFolder>
11
+ <RootNamespace>TestSolution.FailingTests</RootNamespace>
12
+ <AssemblyName>TestSolution.FailingTests</AssemblyName>
13
+ <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
14
+ <FileAlignment>512</FileAlignment>
15
+ </PropertyGroup>
16
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
17
+ <DebugSymbols>true</DebugSymbols>
18
+ <DebugType>full</DebugType>
19
+ <Optimize>false</Optimize>
20
+ <OutputPath>bin\Debug\</OutputPath>
21
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
22
+ <ErrorReport>prompt</ErrorReport>
23
+ <WarningLevel>4</WarningLevel>
24
+ </PropertyGroup>
25
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
26
+ <DebugType>pdbonly</DebugType>
27
+ <Optimize>true</Optimize>
28
+ <OutputPath>bin\Release\</OutputPath>
29
+ <DefineConstants>TRACE</DefineConstants>
30
+ <ErrorReport>prompt</ErrorReport>
31
+ <WarningLevel>4</WarningLevel>
32
+ </PropertyGroup>
33
+ <ItemGroup>
34
+ <Reference Include="nunit.framework, Version=2.5.2.9222, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
35
+ <SpecificVersion>False</SpecificVersion>
36
+ <HintPath>..\..\Tools\NUnit-v2.5\nunit.framework.dll</HintPath>
37
+ </Reference>
38
+ <Reference Include="System" />
39
+ <Reference Include="System.Core">
40
+ <RequiredTargetFramework>3.5</RequiredTargetFramework>
41
+ </Reference>
42
+ <Reference Include="System.Xml.Linq">
43
+ <RequiredTargetFramework>3.5</RequiredTargetFramework>
44
+ </Reference>
45
+ <Reference Include="System.Data.DataSetExtensions">
46
+ <RequiredTargetFramework>3.5</RequiredTargetFramework>
47
+ </Reference>
48
+ <Reference Include="System.Data" />
49
+ <Reference Include="System.Xml" />
50
+ </ItemGroup>
51
+ <ItemGroup>
52
+ <Compile Include="FailingTestFixture.cs" />
53
+ <Compile Include="Properties\AssemblyInfo.cs" />
54
+ </ItemGroup>
55
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
56
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
57
+ Other similar extension points exist, see Microsoft.Common.targets.
58
+ <Target Name="BeforeBuild">
59
+ </Target>
60
+ <Target Name="AfterBuild">
61
+ </Target>
62
+ -->
63
+ </Project>
@@ -0,0 +1,36 @@
1
+ using System.Reflection;
2
+ using System.Runtime.CompilerServices;
3
+ using System.Runtime.InteropServices;
4
+
5
+ // General Information about an assembly is controlled through the following
6
+ // set of attributes. Change these attribute values to modify the information
7
+ // associated with an assembly.
8
+ [assembly: AssemblyTitle("TestSolution.MSpecTests")]
9
+ [assembly: AssemblyDescription("")]
10
+ [assembly: AssemblyConfiguration("")]
11
+ [assembly: AssemblyCompany("")]
12
+ [assembly: AssemblyProduct("TestSolution.MSpecTests")]
13
+ [assembly: AssemblyCopyright("Copyright © 2009")]
14
+ [assembly: AssemblyTrademark("")]
15
+ [assembly: AssemblyCulture("")]
16
+
17
+ // Setting ComVisible to false makes the types in this assembly not visible
18
+ // to COM components. If you need to access a type in this assembly from
19
+ // COM, set the ComVisible attribute to true on that type.
20
+ [assembly: ComVisible(false)]
21
+
22
+ // The following GUID is for the ID of the typelib if this project is exposed to COM
23
+ [assembly: Guid("aae4bb3d-ba7f-41fb-ad97-e74e652e6e07")]
24
+
25
+ // Version information for an assembly consists of the following four values:
26
+ //
27
+ // Major Version
28
+ // Minor Version
29
+ // Build Number
30
+ // Revision
31
+ //
32
+ // You can specify all the values or you can default the Build and Revision Numbers
33
+ // by using the '*' as shown below:
34
+ // [assembly: AssemblyVersion("1.0.*")]
35
+ [assembly: AssemblyVersion("1.0.0.0")]
36
+ [assembly: AssemblyFileVersion("1.0.0.0")]
@@ -0,0 +1,18 @@
1
+ using Machine.Specifications;
2
+
3
+ namespace TestSolution.MSpecTests
4
+ {
5
+
6
+ [Subject("some spec test")]
7
+ public class SomeSpecTest
8
+ {
9
+ private static Class1 someclass;
10
+ private static string foo;
11
+
12
+ private Establish context = () => { someclass = new Class1(); };
13
+
14
+ private Because of = () => { foo = someclass.Foo(); };
15
+
16
+ private It should_be_the_right_string = () => foo.ShouldEqual("bar");
17
+ }
18
+ }
@@ -0,0 +1,77 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+ <PropertyGroup>
4
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6
+ <ProductVersion>9.0.30729</ProductVersion>
7
+ <SchemaVersion>2.0</SchemaVersion>
8
+ <ProjectGuid>{DC8BF855-3A09-4349-8A66-C20AF0EA00DF}</ProjectGuid>
9
+ <OutputType>Library</OutputType>
10
+ <AppDesignerFolder>Properties</AppDesignerFolder>
11
+ <RootNamespace>TestSolution.MSpecTests</RootNamespace>
12
+ <AssemblyName>TestSolution.MSpecTests</AssemblyName>
13
+ <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
14
+ <FileAlignment>512</FileAlignment>
15
+ </PropertyGroup>
16
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
17
+ <DebugSymbols>true</DebugSymbols>
18
+ <DebugType>full</DebugType>
19
+ <Optimize>false</Optimize>
20
+ <OutputPath>bin\Debug\</OutputPath>
21
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
22
+ <ErrorReport>prompt</ErrorReport>
23
+ <WarningLevel>4</WarningLevel>
24
+ </PropertyGroup>
25
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
26
+ <DebugType>pdbonly</DebugType>
27
+ <Optimize>true</Optimize>
28
+ <OutputPath>bin\Release\</OutputPath>
29
+ <DefineConstants>TRACE</DefineConstants>
30
+ <ErrorReport>prompt</ErrorReport>
31
+ <WarningLevel>4</WarningLevel>
32
+ </PropertyGroup>
33
+ <ItemGroup>
34
+ <Reference Include="Machine.Specifications, Version=0.2.0.0, Culture=neutral, processorArchitecture=MSIL">
35
+ <SpecificVersion>False</SpecificVersion>
36
+ <HintPath>..\..\Tools\Machine.Specification-v0.2\Machine.Specifications.dll</HintPath>
37
+ </Reference>
38
+ <Reference Include="Machine.Specifications.NUnit, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
39
+ <SpecificVersion>False</SpecificVersion>
40
+ <HintPath>..\..\Tools\Machine.Specification-v0.2\Machine.Specifications.NUnit.dll</HintPath>
41
+ </Reference>
42
+ <Reference Include="nunit.framework, Version=2.4.6.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
43
+ <SpecificVersion>False</SpecificVersion>
44
+ <HintPath>..\..\Tools\Machine.Specification-v0.2\nunit.framework.dll</HintPath>
45
+ </Reference>
46
+ <Reference Include="System" />
47
+ <Reference Include="System.Core">
48
+ <RequiredTargetFramework>3.5</RequiredTargetFramework>
49
+ </Reference>
50
+ <Reference Include="System.Xml.Linq">
51
+ <RequiredTargetFramework>3.5</RequiredTargetFramework>
52
+ </Reference>
53
+ <Reference Include="System.Data.DataSetExtensions">
54
+ <RequiredTargetFramework>3.5</RequiredTargetFramework>
55
+ </Reference>
56
+ <Reference Include="System.Data" />
57
+ <Reference Include="System.Xml" />
58
+ </ItemGroup>
59
+ <ItemGroup>
60
+ <Compile Include="Properties\AssemblyInfo.cs" />
61
+ <Compile Include="SomeSpecTest.cs" />
62
+ </ItemGroup>
63
+ <ItemGroup>
64
+ <ProjectReference Include="..\TestSolution\TestSolution.csproj">
65
+ <Project>{36F8C06F-3BBA-4D11-9333-83573A760284}</Project>
66
+ <Name>TestSolution</Name>
67
+ </ProjectReference>
68
+ </ItemGroup>
69
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
70
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
71
+ Other similar extension points exist, see Microsoft.Common.targets.
72
+ <Target Name="BeforeBuild">
73
+ </Target>
74
+ <Target Name="AfterBuild">
75
+ </Target>
76
+ -->
77
+ </Project>
@@ -0,0 +1,36 @@
1
+ using System.Reflection;
2
+ using System.Runtime.CompilerServices;
3
+ using System.Runtime.InteropServices;
4
+
5
+ // General Information about an assembly is controlled through the following
6
+ // set of attributes. Change these attribute values to modify the information
7
+ // associated with an assembly.
8
+ [assembly: AssemblyTitle("TestSolution.Tests")]
9
+ [assembly: AssemblyDescription("")]
10
+ [assembly: AssemblyConfiguration("")]
11
+ [assembly: AssemblyCompany("")]
12
+ [assembly: AssemblyProduct("TestSolution.Tests")]
13
+ [assembly: AssemblyCopyright("Copyright © 2009")]
14
+ [assembly: AssemblyTrademark("")]
15
+ [assembly: AssemblyCulture("")]
16
+
17
+ // Setting ComVisible to false makes the types in this assembly not visible
18
+ // to COM components. If you need to access a type in this assembly from
19
+ // COM, set the ComVisible attribute to true on that type.
20
+ [assembly: ComVisible(false)]
21
+
22
+ // The following GUID is for the ID of the typelib if this project is exposed to COM
23
+ [assembly: Guid("d9318756-c32b-4910-8be9-d5fb0d248e3e")]
24
+
25
+ // Version information for an assembly consists of the following four values:
26
+ //
27
+ // Major Version
28
+ // Minor Version
29
+ // Build Number
30
+ // Revision
31
+ //
32
+ // You can specify all the values or you can default the Build and Revision Numbers
33
+ // by using the '*' as shown below:
34
+ // [assembly: AssemblyVersion("1.0.*")]
35
+ [assembly: AssemblyVersion("1.0.0.0")]
36
+ [assembly: AssemblyFileVersion("1.0.0.0")]
@@ -0,0 +1,23 @@
1
+ using System;
2
+ using System.Collections.Generic;
3
+ using System.Linq;
4
+ using System.Text;
5
+ using NUnit.Framework;
6
+
7
+ namespace TestSolution.Tests
8
+ {
9
+
10
+ [TestFixture]
11
+ public class SomeTestFixture
12
+ {
13
+
14
+ [Test]
15
+ public void foo()
16
+ {
17
+ Class1 c1 = new Class1();
18
+ string s = c1.Foo();
19
+ Assert.AreEqual("bar", s);
20
+ }
21
+
22
+ }
23
+ }
@@ -0,0 +1,69 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+ <PropertyGroup>
4
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6
+ <ProductVersion>9.0.30729</ProductVersion>
7
+ <SchemaVersion>2.0</SchemaVersion>
8
+ <ProjectGuid>{48CA57DD-F6F9-46EF-9030-1E6A8D383F1C}</ProjectGuid>
9
+ <OutputType>Library</OutputType>
10
+ <AppDesignerFolder>Properties</AppDesignerFolder>
11
+ <RootNamespace>TestSolution.Tests</RootNamespace>
12
+ <AssemblyName>TestSolution.Tests</AssemblyName>
13
+ <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
14
+ <FileAlignment>512</FileAlignment>
15
+ </PropertyGroup>
16
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
17
+ <DebugSymbols>true</DebugSymbols>
18
+ <DebugType>full</DebugType>
19
+ <Optimize>false</Optimize>
20
+ <OutputPath>bin\Debug\</OutputPath>
21
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
22
+ <ErrorReport>prompt</ErrorReport>
23
+ <WarningLevel>4</WarningLevel>
24
+ </PropertyGroup>
25
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
26
+ <DebugType>pdbonly</DebugType>
27
+ <Optimize>true</Optimize>
28
+ <OutputPath>bin\Release\</OutputPath>
29
+ <DefineConstants>TRACE</DefineConstants>
30
+ <ErrorReport>prompt</ErrorReport>
31
+ <WarningLevel>4</WarningLevel>
32
+ </PropertyGroup>
33
+ <ItemGroup>
34
+ <Reference Include="nunit.framework, Version=2.5.2.9222, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
35
+ <SpecificVersion>False</SpecificVersion>
36
+ <HintPath>..\..\Tools\NUnit-v2.5\nunit.framework.dll</HintPath>
37
+ </Reference>
38
+ <Reference Include="System" />
39
+ <Reference Include="System.Core">
40
+ <RequiredTargetFramework>3.5</RequiredTargetFramework>
41
+ </Reference>
42
+ <Reference Include="System.Xml.Linq">
43
+ <RequiredTargetFramework>3.5</RequiredTargetFramework>
44
+ </Reference>
45
+ <Reference Include="System.Data.DataSetExtensions">
46
+ <RequiredTargetFramework>3.5</RequiredTargetFramework>
47
+ </Reference>
48
+ <Reference Include="System.Data" />
49
+ <Reference Include="System.Xml" />
50
+ </ItemGroup>
51
+ <ItemGroup>
52
+ <Compile Include="SomeTestFixture.cs" />
53
+ <Compile Include="Properties\AssemblyInfo.cs" />
54
+ </ItemGroup>
55
+ <ItemGroup>
56
+ <ProjectReference Include="..\TestSolution\TestSolution.csproj">
57
+ <Project>{36F8C06F-3BBA-4D11-9333-83573A760284}</Project>
58
+ <Name>TestSolution</Name>
59
+ </ProjectReference>
60
+ </ItemGroup>
61
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
62
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
63
+ Other similar extension points exist, see Microsoft.Common.targets.
64
+ <Target Name="BeforeBuild">
65
+ </Target>
66
+ <Target Name="AfterBuild">
67
+ </Target>
68
+ -->
69
+ </Project>
@@ -0,0 +1,38 @@
1
+ 
2
+ Microsoft Visual Studio Solution File, Format Version 10.00
3
+ # Visual Studio 2008
4
+ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestSolution", "TestSolution\TestSolution.csproj", "{36F8C06F-3BBA-4D11-9333-83573A760284}"
5
+ EndProject
6
+ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestSolution.Tests", "TestSolution.Tests\TestSolution.Tests.csproj", "{48CA57DD-F6F9-46EF-9030-1E6A8D383F1C}"
7
+ EndProject
8
+ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestSolution.FailingTests", "TestSolution.FailingTests\TestSolution.FailingTests.csproj", "{8D680D34-363A-4AB4-BC8B-ECA28AFE1D46}"
9
+ EndProject
10
+ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestSolution.MSpecTests", "TestSolution.MSpecTests\TestSolution.MSpecTests.csproj", "{DC8BF855-3A09-4349-8A66-C20AF0EA00DF}"
11
+ EndProject
12
+ Global
13
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
14
+ Debug|Any CPU = Debug|Any CPU
15
+ Release|Any CPU = Release|Any CPU
16
+ EndGlobalSection
17
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
18
+ {36F8C06F-3BBA-4D11-9333-83573A760284}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
19
+ {36F8C06F-3BBA-4D11-9333-83573A760284}.Debug|Any CPU.Build.0 = Debug|Any CPU
20
+ {36F8C06F-3BBA-4D11-9333-83573A760284}.Release|Any CPU.ActiveCfg = Release|Any CPU
21
+ {36F8C06F-3BBA-4D11-9333-83573A760284}.Release|Any CPU.Build.0 = Release|Any CPU
22
+ {48CA57DD-F6F9-46EF-9030-1E6A8D383F1C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
23
+ {48CA57DD-F6F9-46EF-9030-1E6A8D383F1C}.Debug|Any CPU.Build.0 = Debug|Any CPU
24
+ {48CA57DD-F6F9-46EF-9030-1E6A8D383F1C}.Release|Any CPU.ActiveCfg = Release|Any CPU
25
+ {48CA57DD-F6F9-46EF-9030-1E6A8D383F1C}.Release|Any CPU.Build.0 = Release|Any CPU
26
+ {8D680D34-363A-4AB4-BC8B-ECA28AFE1D46}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
27
+ {8D680D34-363A-4AB4-BC8B-ECA28AFE1D46}.Debug|Any CPU.Build.0 = Debug|Any CPU
28
+ {8D680D34-363A-4AB4-BC8B-ECA28AFE1D46}.Release|Any CPU.ActiveCfg = Release|Any CPU
29
+ {8D680D34-363A-4AB4-BC8B-ECA28AFE1D46}.Release|Any CPU.Build.0 = Release|Any CPU
30
+ {DC8BF855-3A09-4349-8A66-C20AF0EA00DF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
31
+ {DC8BF855-3A09-4349-8A66-C20AF0EA00DF}.Debug|Any CPU.Build.0 = Debug|Any CPU
32
+ {DC8BF855-3A09-4349-8A66-C20AF0EA00DF}.Release|Any CPU.ActiveCfg = Release|Any CPU
33
+ {DC8BF855-3A09-4349-8A66-C20AF0EA00DF}.Release|Any CPU.Build.0 = Release|Any CPU
34
+ EndGlobalSection
35
+ GlobalSection(SolutionProperties) = preSolution
36
+ HideSolutionNode = FALSE
37
+ EndGlobalSection
38
+ EndGlobal
@@ -0,0 +1,17 @@
1
+ using System;
2
+ using System.Collections.Generic;
3
+ using System.Linq;
4
+ using System.Text;
5
+
6
+ namespace TestSolution
7
+ {
8
+ public class Class1
9
+ {
10
+
11
+ public string Foo()
12
+ {
13
+ return "bar";
14
+ }
15
+
16
+ }
17
+ }