Write .NET tests with xUnit v3 best practices.
Guides the writing of .NET tests with xUnit v3, including shared setup, parallel execution, assertions, and v2 compatibility.
When to use it
Use when writing xUnit tests.
It changes how the agent writes xUnit tests, organizing test cases, shared resources, parallelism, asynchronous setup, and test data.
What you provide
The primary xUnit v3 path assumes .NET 8.0 or later.
Requires xUnit packages already referenced in a scaffolded test project; xunit.v3 is the package for the primary v3 path.
Names prior test-project scaffolding through dotnet-add-testing as a prerequisite, with xUnit packages already referenced.
Instructs the agent to run dotnet-version-detection to confirm the .NET baseline before using xUnit v3.
No additional actions listed.