Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Upgrade tests to xUnit v3 with Microsoft Testing Platform
- Replace xunit 2.9.2 with xunit.v3 1.0.0
- Remove Microsoft.NET.Test.Sdk, add Microsoft.Testing.Platform 1.4.3
- Add xunit.v3.runner.mstestadapter for new test platform integration
- Enable Microsoft Testing Platform with EnableMicrosoftTestingPlatform property
- Leverage native test platform support in .NET 10
  • Loading branch information
claude committed Nov 24, 2025
commit 41b8a4b1f2a5eb2b0003a4485425db4865ae6c17
7 changes: 4 additions & 3 deletions test/Scrutor.Tests/Scrutor.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<LangVersion>latest</LangVersion>
<EnableMicrosoftTestingPlatform>true</EnableMicrosoftTestingPlatform>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\Scrutor\Scrutor.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
<PackageReference Include="xunit" Version="2.9.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="3.0.0" PrivateAssets="All" />
<PackageReference Include="Microsoft.Testing.Platform" Version="1.4.3" />
<PackageReference Include="xunit.v3" Version="1.0.0" />
<PackageReference Include="xunit.v3.runner.mstestadapter" Version="1.0.0" />
<PackageReference Include="coverlet.collector" Version="6.0.2" PrivateAssets="All" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="10.0.0" />
</ItemGroup>
Expand Down
Loading