Skip to content

Commit a6d144e

Browse files
committed
Add OldProjectFileFormat.Empty sample
1 parent e996010 commit a6d144e

File tree

8 files changed

+145
-0
lines changed

8 files changed

+145
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#language: en
2+
Feature: Calculator
3+
4+
@mytag
5+
Scenario: Add two numbers
6+
Given the first number is 50
7+
And the second number is 70
8+
When the two numbers are added
9+
Then the result should be 120
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4+
<PropertyGroup>
5+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7+
<ProjectGuid>{52461D68-48B1-426A-A098-7C32EA47BE15}</ProjectGuid>
8+
<OutputType>Library</OutputType>
9+
<AppDesignerFolder>Properties</AppDesignerFolder>
10+
<RootNamespace>OldProjectFileFormat.Empty</RootNamespace>
11+
<AssemblyName>OldProjectFileFormat.Empty</AssemblyName>
12+
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
13+
<FileAlignment>512</FileAlignment>
14+
<ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
15+
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">15.0</VisualStudioVersion>
16+
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
17+
<ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages</ReferencePath>
18+
<IsCodedUITest>False</IsCodedUITest>
19+
<TestProjectType>UnitTest</TestProjectType>
20+
<NuGetPackageImportStamp>
21+
</NuGetPackageImportStamp>
22+
</PropertyGroup>
23+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
24+
<DebugSymbols>true</DebugSymbols>
25+
<DebugType>full</DebugType>
26+
<Optimize>false</Optimize>
27+
<OutputPath>bin\Debug\</OutputPath>
28+
<DefineConstants>DEBUG;TRACE</DefineConstants>
29+
<ErrorReport>prompt</ErrorReport>
30+
<WarningLevel>4</WarningLevel>
31+
</PropertyGroup>
32+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
33+
<DebugType>pdbonly</DebugType>
34+
<Optimize>true</Optimize>
35+
<OutputPath>bin\Release\</OutputPath>
36+
<DefineConstants>TRACE</DefineConstants>
37+
<ErrorReport>prompt</ErrorReport>
38+
<WarningLevel>4</WarningLevel>
39+
</PropertyGroup>
40+
<ItemGroup>
41+
<Reference Include="System.Configuration" />
42+
<Reference Include="System.Core" />
43+
<Reference Include="System.Net.Http" />
44+
<Reference Include="System.Numerics" />
45+
<Reference Include="System.Xml" />
46+
</ItemGroup>
47+
<ItemGroup>
48+
<Compile Include="Properties\AssemblyInfo.cs" />
49+
<Compile Include="StepDefinitions\CalculatorStepDefinitions.cs" />
50+
</ItemGroup>
51+
<ItemGroup>
52+
<None Include="app.config" />
53+
<None Include="packages.config" />
54+
<None Include="Features\Calculator.feature" />
55+
<None Include="reqnroll.json" />
56+
</ItemGroup>
57+
<ItemGroup>
58+
<Compile Include="**\*.feature.cs" Exclude="@(Compile)" />
59+
</ItemGroup>
60+
<ItemGroup />
61+
<Import Project="$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets" Condition="Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets')" />
62+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
63+
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
64+
<PropertyGroup>
65+
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
66+
</PropertyGroup>
67+
</Target>
68+
</Project>
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
using System.Reflection;
2+
using System.Runtime.CompilerServices;
3+
using System.Runtime.InteropServices;
4+
5+
[assembly: AssemblyTitle("OldCSProj_SpecFlow31")]
6+
[assembly: AssemblyDescription("")]
7+
[assembly: AssemblyConfiguration("")]
8+
[assembly: AssemblyCompany("")]
9+
[assembly: AssemblyProduct("OldCSProj_SpecFlow31")]
10+
[assembly: AssemblyCopyright("Copyright © 2019")]
11+
[assembly: AssemblyTrademark("")]
12+
[assembly: AssemblyCulture("")]
13+
14+
[assembly: ComVisible(false)]
15+
16+
[assembly: Guid("3440ecda-595d-46da-8636-badecf311fc1")]
17+
18+
// [assembly: AssemblyVersion("1.0.*")]
19+
[assembly: AssemblyVersion("1.0.0.0")]
20+
[assembly: AssemblyFileVersion("1.0.0.0")]
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
/*using System;
2+
using Reqnroll;
3+
4+
namespace OldProjectFileFormat.Empty.StepDefinitions
5+
{
6+
[Binding]
7+
public class CalculatorStepDefinitions
8+
{
9+
[Given("the first number is {int}")]
10+
public void GivenTheFirstNumberIs(int number)
11+
{
12+
}
13+
14+
[Given("the second number is {int}")]
15+
public void GivenTheSecondNumberIs(int number)
16+
{
17+
}
18+
19+
[When("the two numbers are added")]
20+
public void WhenTheTwoNumbersAreAdded()
21+
{
22+
}
23+
24+
[Then("the result should be {int}")]
25+
public void ThenTheResultShouldBe(int result)
26+
{
27+
}
28+
}
29+
}
30+
*/
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
</configuration>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<packages>
3+
</packages>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"$schema": "https://schemas.reqnroll.net/reqnroll-config-latest.json",
3+
4+
"generator": {
5+
}
6+
}

OldProjectFileFormat/OldProjectFileFormat.sln

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OldProjectFileFormat.MsTest
77
EndProject
88
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OldProjectFileFormat.NUnitFw", "OldProjectFileFormat.NUnitFw\OldProjectFileFormat.NUnitFw.csproj", "{5A14CA78-952D-4E12-AA0A-7C5847274CBE}"
99
EndProject
10+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OldProjectFileFormat.Empty", "OldProjectFileFormat.Empty\OldProjectFileFormat.Empty.csproj", "{52461D68-48B1-426A-A098-7C32EA47BE15}"
11+
EndProject
1012
Global
1113
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1214
Debug|Any CPU = Debug|Any CPU
@@ -21,6 +23,10 @@ Global
2123
{5A14CA78-952D-4E12-AA0A-7C5847274CBE}.Debug|Any CPU.Build.0 = Debug|Any CPU
2224
{5A14CA78-952D-4E12-AA0A-7C5847274CBE}.Release|Any CPU.ActiveCfg = Release|Any CPU
2325
{5A14CA78-952D-4E12-AA0A-7C5847274CBE}.Release|Any CPU.Build.0 = Release|Any CPU
26+
{52461D68-48B1-426A-A098-7C32EA47BE15}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
27+
{52461D68-48B1-426A-A098-7C32EA47BE15}.Debug|Any CPU.Build.0 = Debug|Any CPU
28+
{52461D68-48B1-426A-A098-7C32EA47BE15}.Release|Any CPU.ActiveCfg = Release|Any CPU
29+
{52461D68-48B1-426A-A098-7C32EA47BE15}.Release|Any CPU.Build.0 = Release|Any CPU
2430
EndGlobalSection
2531
GlobalSection(SolutionProperties) = preSolution
2632
HideSolutionNode = FALSE

0 commit comments

Comments
 (0)