What problem does it solve?
It solves the problem of figuring out whether a .NET test project should run with VSTest or Microsoft.Testing.Platform, and which test framework (MSTest, xUnit, NUnit, TUnit) it uses, using the project’s existing configuration files.
Core Features & Use Cases
- Framework detection from project and central props: Infers MSTest, xUnit, NUnit, or TUnit by inspecting package/SDK references in the .csproj and Directory.Build.props/Directory.Packages.props.
- Platform detection by SDK rules: Uses dotnet SDK version to choose the correct detection strategy, including global.json runner precedence on .NET 10+.
- Central configuration support: Correctly identifies MTP when centrally managed properties are set outside the .csproj, which prevents misclassification in real monorepos.
Quick Start
Ask the agent to determine the test platform (VSTest vs Microsoft.Testing.Platform) and test framework (MSTest, xUnit, NUnit, TUnit) for your repository by checking global.json, the .csproj, and the relevant Directory.Build.props / Directory.Packages.props files in the right priority order.