Skip to content

Commit e203dcf

Browse files
committed
test: updated to microsoft testing platform
1 parent c354a7f commit e203dcf

File tree

2 files changed

+15
-10
lines changed

2 files changed

+15
-10
lines changed

doc/releases.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22

33
# 1.0.29
44

5-
Full changelog: [1.0.28 -> 1.0.30](https://github.com/codefactors/StandardWebhooks/compare/1.0.28...1.0.30)
5+
Full changelog: [1.0.28 -> 1.0.31](https://github.com/codefactors/StandardWebhooks/compare/1.0.28...1.0.31)
66

77
## What's Changed
88

99
### Update
1010
- Build: Updated Nuke Build from 8.1.x to 9.0.x
1111
- Build: Updated build project to .NET 9
1212
- Misc: Removed support for .NET 6.0 (out of support)
13+
- Test: Updated test project to .NET 9 and Microsoft Testing Platform

test/StandardWebhooks.Tests/StandardWebhooks.Tests.csproj

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,32 @@
44
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
7-
7+
<TestingPlatformDotnetTestSupport>true</TestingPlatformDotnetTestSupport>
88
<IsPackable>false</IsPackable>
99
<IsTestProject>true</IsTestProject>
1010
</PropertyGroup>
1111

1212
<ItemGroup>
13-
<PackageReference Include="coverlet.collector" Version="6.0.2">
14-
<PrivateAssets>all</PrivateAssets>
15-
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
16-
</PackageReference>
17-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
13+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
1814
<PackageReference Include="xunit" Version="2.9.2" />
19-
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
20-
<PrivateAssets>all</PrivateAssets>
21-
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
15+
<PackageReference Include="xunit.runner.visualstudio" Version="3.0.0-pre.49">
16+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
17+
<PrivateAssets>all</PrivateAssets>
18+
</PackageReference>
19+
<PackageReference Include="coverlet.collector" Version="6.0.2">
20+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
21+
<PrivateAssets>all</PrivateAssets>
2222
</PackageReference>
2323
</ItemGroup>
2424

2525
<ItemGroup>
2626
<ProjectReference Include="..\..\src\StandardWebhooks\StandardWebhooks.csproj" />
2727
</ItemGroup>
2828

29+
<PropertyGroup>
30+
<UseMicrosoftTestingPlatformRunner>true</UseMicrosoftTestingPlatformRunner>
31+
</PropertyGroup>
32+
2933
<ItemGroup>
3034
<Using Include="Xunit" />
3135
</ItemGroup>

0 commit comments

Comments
 (0)