You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test project still uses xunit v2 (xunit 2.9.3, the final v2 release). We left this out of the .NET 11 upgrade (#4) because it's a bigger change. This issue tracks moving to xunit.v3.
Tasks
In Directory.Packages.props, replace xunit with xunit.v3 (latest stable: 4.0.3)
Check that xunit.runner.visualstudio 4.x and Microsoft.NET.Test.Sdk work with v3, or switch to Microsoft.Testing.Platform
Set <OutputType>Exe</OutputType> on the test project (v3 test projects are executables)
Update any v2-only APIs (e.g. IAsyncLifetime now returns ValueTask, Xunit.Abstractions namespace removed)
Confirm coverlet.collector still collects coverage under v3
Activity
Migrate unit tests to xunit.v3 on Microsoft.Testing.Platform (#8)