Skip to content

Commit 8eff7d9

Browse files
304NotModifiedclrudolphigasparnagy
authored
Add xunit3 (#120)
* Revert "Remove xunit3 (for now) (#118)" This reverts commit 581ccd8. * Corrected template so that $if$ statement matches properly when xunit.v3 is selected. Updated Reqnroll plugin references to v3.1.0 * Updated ChangeLog added #120 to the Improvement list * use 3.2.0 in project template --------- Co-authored-by: Chris Rudolphi <1702962+clrudolphi@users.noreply.github.com> Co-authored-by: Gáspár Nagy <gaspar.nagy@gmail.com>
1 parent 80ff105 commit 8eff7d9

3 files changed

Lines changed: 11 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22

33
## Improvements:
44

5-
* New Project Wizard references the latest versions of supported test frameworks and .NET frameworks
6-
* Format Document will now right-align numeric values in tables. This can be overridden to left align them by setting `gherkin_table_cell_right_align_numeric_content = false` in .editorconfig file within a `[*.feature]` section.
5+
* New Project Wizard references the latest versions of supported test frameworks and .NET frameworks (#113)
6+
* Format Document will now right-align numeric values in tables. This can be overridden to left align them by setting `gherkin_table_cell_right_align_numeric_content = false` in .editorconfig file within a `[*.feature]` section. (#107)
7+
* Add xunit.v3 as a choice of test framework in the New Project Wizard (#120)
78

89
## Bug fixes:
910

Reqnroll.VisualStudio.ProjectTemplate/ProjectTemplate.csproj

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,19 @@
88

99
<ItemGroup>
1010
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />$if$ ('$unittestframework$' == 'xUnit')
11-
<PackageReference Include="Reqnroll.xUnit" Version="3.0.0" />
11+
<PackageReference Include="Reqnroll.xUnit" Version="3.2.0" />
1212
<PackageReference Include="xunit" Version="2.9.3" />
13+
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.3" />$endif$$if$ ('$unittestframework$' == 'xUnit.v3')
14+
<PackageReference Include="Reqnroll.xunit.v3" Version="3.2.0" />
15+
<PackageReference Include="xunit.v3" Version="3.0.0" />
1316
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.3" />$endif$$if$ ('$unittestframework$' == 'NUnit')
14-
<PackageReference Include="Reqnroll.NUnit" Version="3.0.0" />
17+
<PackageReference Include="Reqnroll.NUnit" Version="3.2.0" />
1518
<PackageReference Include="nunit" Version="4.4.0" />
1619
<PackageReference Include="NUnit3TestAdapter" Version="5.1.0" />$endif$$if$ ('$unittestframework$' == 'MSTest')
17-
<PackageReference Include="Reqnroll.MsTest" Version="3.0.0" />
20+
<PackageReference Include="Reqnroll.MsTest" Version="3.2.0" />
1821
<PackageReference Include="MSTest.TestAdapter" Version="3.10.2" />
1922
<PackageReference Include="MSTest.TestFramework" Version="3.10.2" />$endif$$if$ ('$unittestframework$' == 'TUnit')
20-
<PackageReference Include="Reqnroll.TUnit" Version="3.0.0" />
23+
<PackageReference Include="Reqnroll.TUnit" Version="3.2.0" />
2124
<PackageReference Include="TUnit" Version="0.55.23" />$endif$$if$ ('$fluentassertionsincluded$' == 'True')
2225
<PackageReference Include="FluentAssertions" Version="7.2.0" />$endif$
2326
</ItemGroup>

Reqnroll.VisualStudio/UI/ViewModels/AddNewReqnrollProjectViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public string DotNetFramework
3232
// See https://xceed.com/fluent-assertions-faq/
3333
// Maybe we could consider suggesting https://github.com/shouldly/shouldly instead.
3434
public bool FluentAssertionsIncluded { get; set; } = false;
35-
public ObservableCollection<string> TestFrameworks { get; } = new(new List<string> { "MSTest", "NUnit", "xUnit", "TUnit" });
35+
public ObservableCollection<string> TestFrameworks { get; } = new(new List<string> { "MSTest", "NUnit", "xUnit", "xUnit.v3", "TUnit" });
3636

3737
public event PropertyChangedEventHandler PropertyChanged;
3838

0 commit comments

Comments
 (0)