-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test project to test steps from nuget
- Loading branch information
Showing
13 changed files
with
439 additions
and
0 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
testProjects/AdditionalStepAssembly/AdditionalStepAssembly.sln
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 16 | ||
VisualStudioVersion = 16.0.28721.148 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AdditionalStepAssembly", "AdditionalStepAssembly\AdditionalStepAssembly.csproj", "{45E2FC12-FA9F-435A-9685-5C14791C81D6}" | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AdditionalStepAssemblyFullFramework", "AdditionalStepAssemblyFullFramework\AdditionalStepAssemblyFullFramework.csproj", "{5E3F51A0-5754-4272-8CDF-CB01625451C4}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{45E2FC12-FA9F-435A-9685-5C14791C81D6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{45E2FC12-FA9F-435A-9685-5C14791C81D6}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{45E2FC12-FA9F-435A-9685-5C14791C81D6}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{45E2FC12-FA9F-435A-9685-5C14791C81D6}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{5E3F51A0-5754-4272-8CDF-CB01625451C4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{5E3F51A0-5754-4272-8CDF-CB01625451C4}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{5E3F51A0-5754-4272-8CDF-CB01625451C4}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{5E3F51A0-5754-4272-8CDF-CB01625451C4}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {2B1E1CBE-0BF3-4307-A5C4-CF69F6B88A8E} | ||
EndGlobalSection | ||
EndGlobal |
24 changes: 24 additions & 0 deletions
24
testProjects/AdditionalStepAssembly/AdditionalStepAssembly/AdditionalStepAssembly.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netcoreapp3.1</TargetFramework> | ||
|
||
<IsPackable>false</IsPackable> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.9.0" /> | ||
<PackageReference Include="SpecFlow.xUnit" Version="*" /> | ||
<PackageReference Include="xunit" Version="2.4.1" /> | ||
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" /> | ||
<PackageReference Include="SecondStepAssembly" Version="1.0.0" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<None Update="specflow.json"> | ||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
</None> | ||
</ItemGroup> | ||
|
||
|
||
</Project> |
11 changes: 11 additions & 0 deletions
11
testProjects/AdditionalStepAssembly/AdditionalStepAssembly/SpecFlowFeature1.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Feature: SpecFlowFeature1 | ||
In order to avoid silly mistakes | ||
As a math idiot | ||
I want to be told the sum of two numbers | ||
|
||
@mytag | ||
Scenario: Add two numbers | ||
Given I have entered 50 into the calculator | ||
And I have entered 70 into the calculator | ||
When I press add | ||
Then the result should be 120 on the screen |
138 changes: 138 additions & 0 deletions
138
testProjects/AdditionalStepAssembly/AdditionalStepAssembly/SpecFlowFeature1.feature.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
testProjects/AdditionalStepAssembly/AdditionalStepAssembly/specflow.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"bindingCulture": { | ||
"language": "en-us" | ||
}, | ||
"language": { | ||
"feature": "en-us" | ||
}, | ||
"plugins": [], | ||
"stepAssemblies": [ | ||
{ "assembly": "SecondStepAssembly" } | ||
] | ||
} |
17 changes: 17 additions & 0 deletions
17
...epAssembly/AdditionalStepAssemblyFullFramework/AdditionalStepAssemblyFullFramework.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net471</TargetFramework> | ||
|
||
<IsPackable>false</IsPackable> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.9.0" /> | ||
<PackageReference Include="SpecFlow.xUnit" Version="*" /> | ||
<PackageReference Include="xunit" Version="2.4.1" /> | ||
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" /> | ||
<PackageReference Include="SecondStepAssembly" Version="1.0.0" /> | ||
</ItemGroup> | ||
|
||
</Project> |
11 changes: 11 additions & 0 deletions
11
...jects/AdditionalStepAssembly/AdditionalStepAssemblyFullFramework/SpecFlowFeature1.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Feature: SpecFlowFeature1 | ||
In order to avoid silly mistakes | ||
As a math idiot | ||
I want to be told the sum of two numbers | ||
|
||
@mytag | ||
Scenario: Add two numbers | ||
Given I have entered 50 into the calculator | ||
And I have entered 70 into the calculator | ||
When I press add | ||
Then the result should be 120 on the screen |
138 changes: 138 additions & 0 deletions
138
...ts/AdditionalStepAssembly/AdditionalStepAssemblyFullFramework/SpecFlowFeature1.feature.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.