File tree Expand file tree Collapse file tree 4 files changed +6
-4
lines changed
src/bunit.template/template Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 131
131
<PackageVersion Include =" xunit.abstractions" Version =" 2.0.3" />
132
132
<PackageVersion Include =" xunit.assert" Version =" 2.9.2" />
133
133
<PackageVersion Include =" xunit.extensibility.execution" Version =" 2.9.2" />
134
- <PackageVersion Include =" xunit.runner.visualstudio" Version =" 2.8.2 " />
134
+ <PackageVersion Include =" xunit.runner.visualstudio" Version =" 3.0.0 " />
135
135
</ItemGroup >
136
136
137
137
<ItemGroup Label =" Test Dependencies - Legacy" Condition =" '$(TargetFramework)' == 'netcoreapp3.1' Or '$(TargetFramework)' == 'net5.0'" >
Original file line number Diff line number Diff line change 19
19
<ItemGroup >
20
20
<PackageReference Include =" bunit" Version =" #{RELEASE_VERSION}#" />
21
21
<PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.12.0" />
22
- <PackageReference Include =" coverlet.collector" Version =" 6.0.2 " >
22
+ <PackageReference Include =" coverlet.collector" Version =" 6.0.3 " >
23
23
<IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
24
24
<PrivateAssets >all</PrivateAssets >
25
25
</PackageReference >
26
26
</ItemGroup >
27
27
28
28
<ItemGroup Condition =" '$(testFramework_xunit)' == 'true'" >
29
29
<PackageReference Include =" xunit" Version =" 2.9.2" />
30
- <PackageReference Include =" xunit.runner.visualstudio" Version =" 2.8.2 " >
30
+ <PackageReference Include =" xunit.runner.visualstudio" Version =" 3.0.0 " >
31
31
<PrivateAssets >all</PrivateAssets >
32
32
<IncludeAssets >runtime; build; native; contentfiles; analyzers</IncludeAssets >
33
33
</PackageReference >
42
42
</ItemGroup >
43
43
44
44
<ItemGroup Condition =" '$(testFramework_nunit)' == 'true'" >
45
- <PackageReference Include =" NUnit" Version =" 4.3.0 " />
45
+ <PackageReference Include =" NUnit" Version =" 4.3.2 " />
46
46
<PackageReference Include =" NUnit3TestAdapter" Version =" 4.6.0" />
47
47
</ItemGroup >
48
48
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ namespace Company.BlazorTests1;
7
7
#if ( testFramework_xunit )
8
8
public class CounterCSharpTests : TestContext
9
9
#elif ( testFramework_xunitv3 )
10
+ // The full qualified namespace for bUnit TestContext is used here as xunit v3 also offers a TestContext class
10
11
public class CounterCSharpTests : Bunit . TestContext
11
12
#elif ( testFramework_nunit )
12
13
public class CounterCSharpTests : BunitTestContext
Original file line number Diff line number Diff line change 1
1
@* #if (testFramework_xunit) *@
2
2
@inherits TestContext
3
3
@* #elif (testFramework_xunitv3)*@
4
+ @* The full qualified namespace for bUnit TestContext is used here as xunit v3 also offers a TestContext class *@
4
5
@inherits Bunit .TestContext
5
6
@* #elif (testFramework_nunit)*@
6
7
@inherits BunitTestContext
You can’t perform that action at this time.
0 commit comments