Skip to content

Commit

Permalink
remove VB project from the solution (to be able to build even w/o VB)
Browse files Browse the repository at this point in the history
  • Loading branch information
gasparnagy committed Jun 17, 2010
1 parent 3e8432c commit 963e6ad
Show file tree
Hide file tree
Showing 15 changed files with 22 additions and 474 deletions.
13 changes: 0 additions & 13 deletions TechTalk.SpecFlow.sln
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ImportGherkinParser", "Inst
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FeatureTests", "Tests\FeatureTests\FeatureTests.csproj", "{3FE793A8-E662-4026-B4EC-891324073235}"
EndProject
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "ExternalStepsVB", "Tests\FeatureTests\ExternalSteps\ExternalStepsVB\ExternalStepsVB.vbproj", "{D3F6B835-B228-4DCF-B533-B6ED469A33B3}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ExternalStepsCS", "Tests\FeatureTests\ExternalSteps\ExternalStepsCS\ExternalStepsCS.csproj", "{3836A6FC-4ECC-413A-AC8F-83A0A773EC9E}"
EndProject
Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "SpecFlowInstaller", "Installer\SpecFlowInstaller\SpecFlowInstaller.wixproj", "{89167EB9-F458-48DA-9D8F-F639A74F5871}"
Expand Down Expand Up @@ -159,16 +157,6 @@ Global
{3FE793A8-E662-4026-B4EC-891324073235}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{3FE793A8-E662-4026-B4EC-891324073235}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{3FE793A8-E662-4026-B4EC-891324073235}.Release|x86.ActiveCfg = Release|Any CPU
{D3F6B835-B228-4DCF-B533-B6ED469A33B3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D3F6B835-B228-4DCF-B533-B6ED469A33B3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D3F6B835-B228-4DCF-B533-B6ED469A33B3}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{D3F6B835-B228-4DCF-B533-B6ED469A33B3}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{D3F6B835-B228-4DCF-B533-B6ED469A33B3}.Debug|x86.ActiveCfg = Debug|Any CPU
{D3F6B835-B228-4DCF-B533-B6ED469A33B3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D3F6B835-B228-4DCF-B533-B6ED469A33B3}.Release|Any CPU.Build.0 = Release|Any CPU
{D3F6B835-B228-4DCF-B533-B6ED469A33B3}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{D3F6B835-B228-4DCF-B533-B6ED469A33B3}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{D3F6B835-B228-4DCF-B533-B6ED469A33B3}.Release|x86.ActiveCfg = Release|Any CPU
{3836A6FC-4ECC-413A-AC8F-83A0A773EC9E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3836A6FC-4ECC-413A-AC8F-83A0A773EC9E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3836A6FC-4ECC-413A-AC8F-83A0A773EC9E}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
Expand Down Expand Up @@ -220,7 +208,6 @@ Global
{70376361-0BE1-478D-8EEC-47BD1C768165} = {A10B5CD6-38EC-4D7E-9D1C-2EBA8017E437}
{F8FACCF0-5497-4C6B-861F-78D72FD9561B} = {A10B5CD6-38EC-4D7E-9D1C-2EBA8017E437}
{3FE793A8-E662-4026-B4EC-891324073235} = {A10B5CD6-38EC-4D7E-9D1C-2EBA8017E437}
{D3F6B835-B228-4DCF-B533-B6ED469A33B3} = {A10B5CD6-38EC-4D7E-9D1C-2EBA8017E437}
{3836A6FC-4ECC-413A-AC8F-83A0A773EC9E} = {A10B5CD6-38EC-4D7E-9D1C-2EBA8017E437}
{1965463E-6972-4618-8E59-D3259AE7A125} = {A10B5CD6-38EC-4D7E-9D1C-2EBA8017E437}
{E5C299D5-E7CC-4477-9A0B-4797B74BC88B} = {A10B5CD6-38EC-4D7E-9D1C-2EBA8017E437}
Expand Down
1 change: 0 additions & 1 deletion Tests/FeatureTests/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
/>

<stepAssemblies>
<stepAssembly assembly="ExternalStepsVB" />
<stepAssembly assembly="ExternalStepsCS" />
</stepAssemblies>

Expand Down
2 changes: 1 addition & 1 deletion Tests/FeatureTests/ExternalSteps/ExternalSteps.feature
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
As a bdd enthusiast
I want to use step definitions from other assemblies

Scenario: Steps defined in an external VB project and an external c-sharp project
Scenario: Steps defined in an external .NET (e.g. c# or VB.NET)
Given I have external step definitions in a separate assembly referenced by this project
When I call those steps
Then the scenario should pass
18 changes: 9 additions & 9 deletions Tests/FeatureTests/ExternalSteps/ExternalSteps.feature.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions Tests/FeatureTests/ExternalSteps/ExternalStepsCS/CSSteps.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,18 @@ namespace ExternalStepsCS
[Binding]
public class CSSteps
{
[Given(@"I have external step definitions in a separate assembly referenced by this project")]
public void GivenIHaveExternalStepDefinitionsInASeparateAssemblyReferencedByThisProject()
{
ScenarioContext.Current["counter"] = 1;
}

[When(@"I call those steps")]
public void WhenICallThoseSteps()
{
ScenarioContext.Current["counter"] = (int)ScenarioContext.Current["counter"] + 1;
}

[Then("the scenario should pass")]
public void GivenAFeatureWhichRequiresADependentContext()
{
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 963e6ad

Please sign in to comment.