albacore 0.1.5 → 0.2.0.preview1
Sign up to get free protection for your applications and to get access to all the features.
- data/.autotest +4 -0
- data/README.markdown +1 -1
- data/VERSION +1 -1
- data/install_dependencies.rb +2 -3
- data/lib/albacore.rb +1 -0
- data/lib/albacore/albacoremodel.rb +28 -0
- data/lib/albacore/assemblyinfo.rb +5 -4
- data/lib/albacore/config/assemblyinfoconfig.rb +21 -0
- data/lib/albacore/config/config.rb +14 -0
- data/lib/albacore/config/cscconfig.rb +33 -0
- data/lib/albacore/config/docuconfig.rb +25 -0
- data/lib/albacore/config/execconfig.rb +22 -0
- data/lib/albacore/config/msbuildconfig.rb +32 -0
- data/lib/albacore/config/mspecconfig.rb +21 -0
- data/lib/albacore/config/nantconfig.rb +22 -0
- data/lib/albacore/config/ncoverconsoleconfig.rb +22 -0
- data/lib/albacore/config/ncoverreportconfig.rb +22 -0
- data/lib/albacore/config/ndependconfig.rb +22 -0
- data/lib/albacore/config/netversion.rb +23 -0
- data/lib/albacore/config/nunitconfig.rb +20 -0
- data/lib/albacore/config/specflowreportconfig.rb +27 -0
- data/lib/albacore/config/sqlcmdconfig.rb +22 -0
- data/lib/albacore/config/unzipconfig.rb +22 -0
- data/lib/albacore/config/xbuildconfig.rb +22 -0
- data/lib/albacore/config/xunitconfig.rb +22 -0
- data/lib/albacore/config/zipconfig.rb +22 -0
- data/lib/albacore/csc.rb +31 -0
- data/lib/albacore/docu.rb +8 -6
- data/lib/albacore/exec.rb +9 -3
- data/lib/albacore/msbuild.rb +5 -12
- data/lib/albacore/mspectestrunner.rb +9 -7
- data/lib/albacore/nant.rb +5 -4
- data/lib/albacore/ncoverconsole.rb +6 -9
- data/lib/albacore/ncoverreport.rb +8 -6
- data/lib/albacore/ncoverreports/codecoveragebase.rb +4 -4
- data/lib/albacore/ncoverreports/cyclomaticcomplexity.rb +4 -4
- data/lib/albacore/ncoverreports/fullcoveragereport.rb +3 -3
- data/lib/albacore/ncoverreports/reportfilterbase.rb +4 -4
- data/lib/albacore/ncoverreports/summaryreport.rb +3 -3
- data/lib/albacore/ndepend.rb +12 -9
- data/lib/albacore/nunittestrunner.rb +9 -7
- data/lib/albacore/specflowreport.rb +62 -0
- data/lib/albacore/sqlcmd.rb +8 -6
- data/lib/albacore/support/attrmethods.rb +7 -8
- data/lib/albacore/support/logging.rb +8 -4
- data/lib/albacore/support/openstruct.rb +13 -0
- data/lib/albacore/support/runcommand.rb +24 -24
- data/lib/albacore/support/supportlinux.rb +23 -0
- data/lib/albacore/support/yamlconfig.rb +2 -10
- data/lib/albacore/unzip.rb +14 -12
- data/lib/albacore/xbuild.rb +6 -5
- data/lib/albacore/xunittestrunner.rb +8 -6
- data/lib/albacore/zipdirectory.rb +27 -6
- data/lib/rake/csctask.rb +3 -0
- data/lib/rake/specflowreporttask.rb +3 -0
- data/lib/rake/unziptask.rb +1 -1
- data/rakefile.rb +21 -54
- data/spec/albacoremodel_spec.rb +35 -0
- data/spec/assemblyinfo_spec.rb +17 -0
- data/spec/attrmethods_spec.rb +17 -1
- data/spec/config_spec.rb +19 -0
- data/spec/createtask_spec.rb +45 -4
- data/spec/csc_spec.rb +87 -0
- data/spec/csctask_spec.rb +1 -0
- data/spec/docu_spec.rb +43 -1
- data/spec/exec_spec.rb +16 -1
- data/spec/msbuild_spec.rb +30 -18
- data/spec/mspec_spec.rb +28 -0
- data/spec/nant_spec.rb +20 -12
- data/spec/ncoverconsole_spec.rb +25 -13
- data/spec/ncoverreport_spec.rb +31 -18
- data/spec/ndepend_spec.rb +23 -2
- data/spec/nunittestrunner_spec.rb +48 -0
- data/spec/runcommand_spec.rb +59 -32
- data/spec/specflowreport_spec.rb +146 -0
- data/spec/specflowreporttask_spec.rb +48 -0
- data/spec/sqlcmd_spec.rb +18 -5
- data/spec/support/SpecFlow/TechTalk.SpecFlow.dll +0 -0
- data/spec/support/SpecFlow/TestSolution.SpecFlow.dll +0 -0
- data/spec/support/SpecFlow/TestSolution.SpecFlow.pdb +0 -0
- data/spec/support/SpecFlow/TestSolution.dll +0 -0
- data/spec/support/SpecFlow/TestSolution.pdb +0 -0
- data/spec/support/SpecFlow/nunit.framework.dll +0 -0
- data/spec/support/TestSolution/TestSolution.5.0.ReSharper.user +27 -0
- data/spec/support/TestSolution/TestSolution.SpecFlow/OneFeature.feature +8 -0
- data/spec/support/TestSolution/TestSolution.SpecFlow/OneFeature.feature.cs +73 -0
- data/spec/support/TestSolution/TestSolution.SpecFlow/Properties/AssemblyInfo.cs +36 -0
- data/spec/support/TestSolution/TestSolution.SpecFlow/StepDefinition.cs +30 -0
- data/spec/support/TestSolution/TestSolution.SpecFlow/TestSolution.SpecFlow.csproj +84 -0
- data/spec/support/TestSolution/TestSolution.sln +6 -0
- data/spec/support/csc/File1.cs +9 -0
- data/spec/support/csc/File2.cs +9 -0
- data/spec/support/csc/output/ignorethis.txt +1 -0
- data/spec/support/msbuildtestdata.rb +3 -3
- data/spec/support/ncoverreporttestdata.rb +2 -2
- data/spec/support/spec_helper.rb +2 -1
- data/spec/support/yamlconfig/yaml_autoconfig_test.yml +1 -1
- data/spec/unzip_spec.rb +15 -0
- data/spec/xbuild_spec.rb +15 -0
- data/spec/xunit_spec.rb +16 -2
- data/spec/yamlconfig_spec.rb +7 -6
- data/spec/zip_spec.rb +50 -9
- data/watchrtesting.rb +8 -0
- metadata +99 -91
- data/lib/albacore/expandtemplates.rb +0 -81
- data/lib/albacore/plink.rb +0 -49
- data/lib/albacore/renamer.rb +0 -17
- data/lib/albacore/sftp.rb +0 -42
- data/lib/albacore/ssh.rb +0 -44
- data/lib/albacore/support/albacore_helper.rb +0 -1
- data/lib/albacore/support/globalconfig.rb +0 -6
- data/lib/rake/expandtemplatestask.rb +0 -3
- data/lib/rake/plinktask.rb +0 -3
- data/lib/rake/renametask.rb +0 -3
- data/lib/rake/sftptask.rb +0 -3
- data/lib/rake/sshtask.rb +0 -3
- data/spec/expandtemplates_spec.rb +0 -180
- data/spec/expandtemplatestask_spec.rb +0 -46
- data/spec/plink_spec.rb +0 -62
- data/spec/plinktask_spec.rb +0 -46
- data/spec/renametask_spec.rb +0 -32
- data/spec/sftp_spec.rb +0 -30
- data/spec/sftptask_spec.rb +0 -42
- data/spec/ssh_spec.rb +0 -47
- data/spec/sshtask_spec.rb +0 -40
- data/spec/support/expandtemplates/datafiles/multiplevalues.yml +0 -3
- data/spec/support/expandtemplates/datafiles/multitemplate-specificfile.yml +0 -11
- data/spec/support/expandtemplates/datafiles/multitemplate.yml +0 -4
- data/spec/support/expandtemplates/datafiles/sample.yml +0 -1
- data/spec/support/expandtemplates/datafiles/sample_with_include.yml +0 -2
- data/spec/support/expandtemplates/datafiles/template_specific_data_file_with_include.yml +0 -5
- data/spec/support/expandtemplates/datafiles/template_specific_include.yml +0 -3
- data/spec/support/expandtemplates/templates/multipleinstance.config +0 -4
- data/spec/support/expandtemplates/templates/multiplevalues.config +0 -1
- data/spec/support/expandtemplates/templates/sample.config +0 -1
- data/spec/support/expandtemplatestestdata.rb +0 -77
@@ -0,0 +1,48 @@
|
|
1
|
+
require File.join(File.dirname(__FILE__), 'support', 'spec_helper')
|
2
|
+
require 'albacore/specflowreport'
|
3
|
+
require 'rake/specflowreporttask'
|
4
|
+
require 'fail_patch'
|
5
|
+
|
6
|
+
describe "when running" do
|
7
|
+
before :all do
|
8
|
+
specflowreport :specflowreport do |t|
|
9
|
+
t.extend(FailPatch)
|
10
|
+
@yielded_object = t
|
11
|
+
end
|
12
|
+
Rake::Task[:specflowreport].invoke
|
13
|
+
end
|
14
|
+
|
15
|
+
it "should yield the specflow api" do
|
16
|
+
@yielded_object.kind_of?(SpecFlowReport).should be_true
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
|
21
|
+
describe "when execution fails" do
|
22
|
+
before :all do
|
23
|
+
specflowreport :specflowreport_fail do |t|
|
24
|
+
t.extend(FailPatch)
|
25
|
+
t.fail
|
26
|
+
end
|
27
|
+
Rake::Task[:specflowreport_fail].invoke
|
28
|
+
end
|
29
|
+
|
30
|
+
it "should fail the rake task" do
|
31
|
+
$task_failed.should == true
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
|
36
|
+
describe "when task args are used" do
|
37
|
+
before :all do
|
38
|
+
specflowreport :specflowreport_withargs, [:arg1] do |t, args|
|
39
|
+
t.extend(FailPatch)
|
40
|
+
@args = args
|
41
|
+
end
|
42
|
+
Rake::Task[:specflowreport_withargs].invoke("test")
|
43
|
+
end
|
44
|
+
|
45
|
+
it "should provide the task args" do
|
46
|
+
@args.arg1.should == "test"
|
47
|
+
end
|
48
|
+
end
|
data/spec/sqlcmd_spec.rb
CHANGED
@@ -4,7 +4,7 @@ require 'albacore/sqlcmd'
|
|
4
4
|
describe SQLCmd, "when running a script file against a database with authentication information" do
|
5
5
|
before :all do
|
6
6
|
@cmd = SQLCmd.new
|
7
|
-
@cmd.
|
7
|
+
@cmd.command = "sqlcmd.exe"
|
8
8
|
@cmd.log_level = :verbose
|
9
9
|
@cmd.extend(SystemPatch)
|
10
10
|
@cmd.disable_system = true
|
@@ -62,7 +62,7 @@ describe SQLCmd, "when running with no command path specified" do
|
|
62
62
|
end
|
63
63
|
|
64
64
|
it "should log a failure message" do
|
65
|
-
@log_data.should include('SQLCmd.
|
65
|
+
@log_data.should include('SQLCmd.command cannot be nil.')
|
66
66
|
end
|
67
67
|
end
|
68
68
|
|
@@ -70,7 +70,7 @@ describe SQLCmd, "when execution of sqlcmd fails" do
|
|
70
70
|
before :all do
|
71
71
|
strio = StringIO.new
|
72
72
|
@cmd = SQLCmd.new
|
73
|
-
@cmd.
|
73
|
+
@cmd.command="sqlcmd.exe"
|
74
74
|
@cmd.log_level = :verbose
|
75
75
|
@cmd.log_device = strio
|
76
76
|
@cmd.extend(SystemPatch)
|
@@ -95,7 +95,7 @@ end
|
|
95
95
|
describe SQLCmd, "when running multiple script files" do
|
96
96
|
before :all do
|
97
97
|
@cmd = SQLCmd.new
|
98
|
-
@cmd.
|
98
|
+
@cmd.command = "sqlcmd.exe"
|
99
99
|
@cmd.log_level = :verbose
|
100
100
|
@cmd.extend(SystemPatch)
|
101
101
|
@cmd.disable_system = true
|
@@ -121,7 +121,7 @@ end
|
|
121
121
|
describe SQLCmd, "when running with variables specified" do
|
122
122
|
before :all do
|
123
123
|
@cmd = SQLCmd.new
|
124
|
-
@cmd.
|
124
|
+
@cmd.command = "sqlcmd.exe"
|
125
125
|
@cmd.log_level = :verbose
|
126
126
|
@cmd.extend(SystemPatch)
|
127
127
|
@cmd.disable_system = true
|
@@ -137,3 +137,16 @@ describe SQLCmd, "when running with variables specified" do
|
|
137
137
|
@cmd.system_command.should include("-v another_var=another_value")
|
138
138
|
end
|
139
139
|
end
|
140
|
+
|
141
|
+
describe SQLCmd, "when providing configuration" do
|
142
|
+
let :sqlcmd do
|
143
|
+
Albacore.configure do |config|
|
144
|
+
config.sqlcmd.command = "configured"
|
145
|
+
end
|
146
|
+
sqlcmd = SQLCmd.new
|
147
|
+
end
|
148
|
+
|
149
|
+
it "should use the configured values" do
|
150
|
+
sqlcmd.command.should == "configured"
|
151
|
+
end
|
152
|
+
end
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,27 @@
|
|
1
|
+
<Configuration>
|
2
|
+
<SettingsComponent>
|
3
|
+
<string />
|
4
|
+
<integer />
|
5
|
+
<boolean>
|
6
|
+
<setting name="SolutionAnalysisEnabled">False</setting>
|
7
|
+
</boolean>
|
8
|
+
</SettingsComponent>
|
9
|
+
<RecentFiles>
|
10
|
+
<RecentFiles>
|
11
|
+
<File id="57F50D38-0EA8-401F-AD2A-CA50738F4F14/f:OneFeature.feature.cs" caret="0" fromTop="0" />
|
12
|
+
<File id="57F50D38-0EA8-401F-AD2A-CA50738F4F14/f:OneFeature.feature" caret="0" fromTop="0" />
|
13
|
+
</RecentFiles>
|
14
|
+
<RecentEdits />
|
15
|
+
</RecentFiles>
|
16
|
+
<NAntValidationSettings>
|
17
|
+
<NAntPath value="" />
|
18
|
+
</NAntValidationSettings>
|
19
|
+
<UnitTestRunner>
|
20
|
+
<Providers />
|
21
|
+
</UnitTestRunner>
|
22
|
+
<UnitTestRunnerNUnit>
|
23
|
+
<NUnitInstallDir IsNull="False">
|
24
|
+
</NUnitInstallDir>
|
25
|
+
<UseAddins>Never</UseAddins>
|
26
|
+
</UnitTestRunnerNUnit>
|
27
|
+
</Configuration>
|
@@ -0,0 +1,73 @@
|
|
1
|
+
// ------------------------------------------------------------------------------
|
2
|
+
// <auto-generated>
|
3
|
+
// This code was generated by SpecFlow (http://www.specflow.org/).
|
4
|
+
// SpecFlow Version:1.3.0.0
|
5
|
+
// Runtime Version:2.0.50727.4927
|
6
|
+
//
|
7
|
+
// Changes to this file may cause incorrect behavior and will be lost if
|
8
|
+
// the code is regenerated.
|
9
|
+
// </auto-generated>
|
10
|
+
// ------------------------------------------------------------------------------
|
11
|
+
#region Designer generated code
|
12
|
+
namespace TestSolution.SpecFlow
|
13
|
+
{
|
14
|
+
using TechTalk.SpecFlow;
|
15
|
+
|
16
|
+
|
17
|
+
[System.CodeDom.Compiler.GeneratedCodeAttribute("TechTalk.SpecFlow", "1.3.0.0")]
|
18
|
+
[System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
19
|
+
[NUnit.Framework.TestFixtureAttribute()]
|
20
|
+
[NUnit.Framework.DescriptionAttribute("Test to test the runner")]
|
21
|
+
public partial class TestToTestTheRunnerFeature
|
22
|
+
{
|
23
|
+
|
24
|
+
private static TechTalk.SpecFlow.ITestRunner testRunner;
|
25
|
+
|
26
|
+
#line 1 "OneFeature.feature"
|
27
|
+
#line hidden
|
28
|
+
|
29
|
+
[NUnit.Framework.TestFixtureSetUpAttribute()]
|
30
|
+
public virtual void FeatureSetup()
|
31
|
+
{
|
32
|
+
testRunner = TechTalk.SpecFlow.TestRunnerManager.GetTestRunner();
|
33
|
+
TechTalk.SpecFlow.FeatureInfo featureInfo = new TechTalk.SpecFlow.FeatureInfo(new System.Globalization.CultureInfo("en-US"), "Test to test the runner", "In order to verify that the albacore runner runs\r\nI need to write some specs", ((string[])(null)));
|
34
|
+
testRunner.OnFeatureStart(featureInfo);
|
35
|
+
}
|
36
|
+
|
37
|
+
[NUnit.Framework.TestFixtureTearDownAttribute()]
|
38
|
+
public virtual void FeatureTearDown()
|
39
|
+
{
|
40
|
+
testRunner.OnFeatureEnd();
|
41
|
+
testRunner = null;
|
42
|
+
}
|
43
|
+
|
44
|
+
public virtual void ScenarioSetup(TechTalk.SpecFlow.ScenarioInfo scenarioInfo)
|
45
|
+
{
|
46
|
+
testRunner.OnScenarioStart(scenarioInfo);
|
47
|
+
}
|
48
|
+
|
49
|
+
[NUnit.Framework.TearDownAttribute()]
|
50
|
+
public virtual void ScenarioTearDown()
|
51
|
+
{
|
52
|
+
testRunner.OnScenarioEnd();
|
53
|
+
}
|
54
|
+
|
55
|
+
[NUnit.Framework.TestAttribute()]
|
56
|
+
[NUnit.Framework.DescriptionAttribute("Check for the mighty Foo")]
|
57
|
+
public virtual void CheckForTheMightyFoo()
|
58
|
+
{
|
59
|
+
TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Check for the mighty Foo", ((string[])(null)));
|
60
|
+
#line 5
|
61
|
+
this.ScenarioSetup(scenarioInfo);
|
62
|
+
#line 6
|
63
|
+
testRunner.Given("I create a Class1");
|
64
|
+
#line 7
|
65
|
+
testRunner.When("I call Foo");
|
66
|
+
#line 8
|
67
|
+
testRunner.Then("I should get \"bar\"");
|
68
|
+
#line hidden
|
69
|
+
testRunner.CollectScenarioErrors();
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
#endregion
|
@@ -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.SpecFlow")]
|
9
|
+
[assembly: AssemblyDescription("")]
|
10
|
+
[assembly: AssemblyConfiguration("")]
|
11
|
+
[assembly: AssemblyCompany("Microsoft")]
|
12
|
+
[assembly: AssemblyProduct("TestSolution.SpecFlow")]
|
13
|
+
[assembly: AssemblyCopyright("Copyright © Microsoft 2010")]
|
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("fc8beb0b-22fa-4222-a73d-4f85d4278bc4")]
|
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,30 @@
|
|
1
|
+
using NUnit.Framework;
|
2
|
+
using TechTalk.SpecFlow;
|
3
|
+
|
4
|
+
namespace TestSolution.SpecFlow
|
5
|
+
{
|
6
|
+
[Binding]
|
7
|
+
public class StepDefinition
|
8
|
+
{
|
9
|
+
private Class1 myclass;
|
10
|
+
private string _result;
|
11
|
+
|
12
|
+
[Given(@"I create a Class1")]
|
13
|
+
public void GivenICreateAClass1()
|
14
|
+
{
|
15
|
+
myclass = new Class1();
|
16
|
+
}
|
17
|
+
|
18
|
+
[When(@"I call Foo")]
|
19
|
+
public void WhenICallFoo()
|
20
|
+
{
|
21
|
+
_result = myclass.Foo();
|
22
|
+
}
|
23
|
+
|
24
|
+
[Then(@"I should get ""(.*)""")]
|
25
|
+
public void ThenIShouldGetBar(string value)
|
26
|
+
{
|
27
|
+
Assert.That(_result, Is.EqualTo(value));
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}
|
@@ -0,0 +1,84 @@
|
|
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>{57F50D38-0EA8-401F-AD2A-CA50738F4F14}</ProjectGuid>
|
9
|
+
<OutputType>Library</OutputType>
|
10
|
+
<AppDesignerFolder>Properties</AppDesignerFolder>
|
11
|
+
<RootNamespace>TestSolution.SpecFlow</RootNamespace>
|
12
|
+
<AssemblyName>TestSolution.SpecFlow</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
|
+
<Reference Include="TechTalk.SpecFlow, Version=1.2.0.0, Culture=neutral, PublicKeyToken=0778194805d6db41, processorArchitecture=MSIL">
|
51
|
+
<SpecificVersion>False</SpecificVersion>
|
52
|
+
<HintPath>..\..\Tools\SpecFlow\TechTalk.SpecFlow.dll</HintPath>
|
53
|
+
</Reference>
|
54
|
+
</ItemGroup>
|
55
|
+
<ItemGroup>
|
56
|
+
<Compile Include="OneFeature.feature.cs">
|
57
|
+
<AutoGen>True</AutoGen>
|
58
|
+
<DesignTime>True</DesignTime>
|
59
|
+
<DependentUpon>OneFeature.feature</DependentUpon>
|
60
|
+
</Compile>
|
61
|
+
<Compile Include="Properties\AssemblyInfo.cs" />
|
62
|
+
<Compile Include="StepDefinition.cs" />
|
63
|
+
</ItemGroup>
|
64
|
+
<ItemGroup>
|
65
|
+
<None Include="OneFeature.feature">
|
66
|
+
<Generator>SpecFlowSingleFileGenerator</Generator>
|
67
|
+
<LastGenOutput>OneFeature.feature.cs</LastGenOutput>
|
68
|
+
</None>
|
69
|
+
</ItemGroup>
|
70
|
+
<ItemGroup>
|
71
|
+
<ProjectReference Include="..\TestSolution\TestSolution.csproj">
|
72
|
+
<Project>{36F8C06F-3BBA-4D11-9333-83573A760284}</Project>
|
73
|
+
<Name>TestSolution</Name>
|
74
|
+
</ProjectReference>
|
75
|
+
</ItemGroup>
|
76
|
+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
77
|
+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
78
|
+
Other similar extension points exist, see Microsoft.Common.targets.
|
79
|
+
<Target Name="BeforeBuild">
|
80
|
+
</Target>
|
81
|
+
<Target Name="AfterBuild">
|
82
|
+
</Target>
|
83
|
+
-->
|
84
|
+
</Project>
|
@@ -11,6 +11,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestSolution.MSpecTests", "
|
|
11
11
|
EndProject
|
12
12
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestSolution.XUnitTests", "TestSolution.XUnitTests\TestSolution.XUnitTests.csproj", "{D9503B26-F9BF-4B16-B287-B998B9077371}"
|
13
13
|
EndProject
|
14
|
+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestSolution.SpecFlow", "TestSolution.SpecFlow\TestSolution.SpecFlow.csproj", "{57F50D38-0EA8-401F-AD2A-CA50738F4F14}"
|
15
|
+
EndProject
|
14
16
|
Global
|
15
17
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
16
18
|
Debug|Any CPU = Debug|Any CPU
|
@@ -37,6 +39,10 @@ Global
|
|
37
39
|
{D9503B26-F9BF-4B16-B287-B998B9077371}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
38
40
|
{D9503B26-F9BF-4B16-B287-B998B9077371}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
39
41
|
{D9503B26-F9BF-4B16-B287-B998B9077371}.Release|Any CPU.Build.0 = Release|Any CPU
|
42
|
+
{57F50D38-0EA8-401F-AD2A-CA50738F4F14}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
43
|
+
{57F50D38-0EA8-401F-AD2A-CA50738F4F14}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
44
|
+
{57F50D38-0EA8-401F-AD2A-CA50738F4F14}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
45
|
+
{57F50D38-0EA8-401F-AD2A-CA50738F4F14}.Release|Any CPU.Build.0 = Release|Any CPU
|
40
46
|
EndGlobalSection
|
41
47
|
GlobalSection(SolutionProperties) = preSolution
|
42
48
|
HideSolutionNode = FALSE
|
@@ -0,0 +1 @@
|
|
1
|
+
placeholder for git.
|
@@ -6,7 +6,7 @@ class MSBuildTestData
|
|
6
6
|
|
7
7
|
def initialize(config_mode='Debug')
|
8
8
|
@solution_path = File.join(File.dirname(__FILE__), "../", "support", "TestSolution", "TestSolution.sln")
|
9
|
-
@msbuild_path = "C:\\Windows/Microsoft.NET/Framework/
|
9
|
+
@msbuild_path = "C:\\Windows/Microsoft.NET/Framework/v4.0.30319/MSBuild.exe"
|
10
10
|
@config_mode = config_mode
|
11
11
|
|
12
12
|
setup_output
|
@@ -22,11 +22,11 @@ class MSBuildTestData
|
|
22
22
|
|
23
23
|
if (path_to_msbuild)
|
24
24
|
@msbuild_path = path_to_msbuild
|
25
|
-
|
25
|
+
@msbuild.command = path_to_msbuild
|
26
26
|
end
|
27
27
|
|
28
28
|
@msbuild.extend(SystemPatch)
|
29
29
|
@msbuild
|
30
30
|
end
|
31
31
|
|
32
|
-
end
|
32
|
+
end
|