Install any skill in seconds. Free to start, no credit card required.
Get Started Free →dotnet/migrate-vstest-to-mtp
Migrates .NET test projects from VSTest to Microsoft.Testing.Platform (MTP).
Passed 11 of 16 test cases with the skill, and 7 of 16 without it.
and 12 more in the full report
9 fixed7 passed either way4 still failing3 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 9 test cases the skill fixed. Same model, same prompt, with and without the skill.
We have an NUnit 4 unit test project targeting .NET 8. We want to enable the Microsoft.Testing.Platform runner centrally in `Directory.Build.props`. What property name enables NUnit's MTP runner, what project output type is required, and what minimum version of `NUnit3TestAdapter` must be referenced?
| Checked | Without skill | With skill |
|---|---|---|
| The response specifies EnableNUnitRunner set to true. | Passed | Passed |
| The response identifies NUnit3TestAdapter version 5.0.0 or higher as the required minimum adapter package version. | Missed | Passed |
| The response specifies setting OutputType to Exe for the test project. | Passed | Passed |
The instructions your model reads when the skill loads.
Migrate a .NET test solution from VSTest to Microsoft.Testing.Platform (MTP). The outcome is a solution where all test projects run on MTP, dotnet test works correctly, and CI/CD pipelines are updated.
Inspect the supplied project, Directory.Build.props, global.json, and CI
files before searching the web or answering from memory. Resolve the framework
and SDK mode first: .NET 9 and earlier use the compatibility property plus the
-- separator; .NET 10 native MTP uses global.json, removes that property,
and passes MTP arguments without the separator. For central properties, never
condition on IsTestProject in Directory.Build.props; use a property already
available there, such as MSBuildProjectName.
Important: Do not mix VSTest-based and MTP-based .NET test projects in the same solution or run configuration -- this is an unsupported scenario.
dotnet run / dotnet watch / direct executable execution for test projectsvstest.console.exe with dotnet test on MTPdotnet test arguments from VSTest syntax to MTP syntaxmigrate-mstest-v1v2-to-v3 or migrate-mstest-v3-to-v4| Input | Required | Description |
|---|---|---|
| Project or solution path | No | The .csproj, .sln, or .slnx entry point containing test projects. Discover it yourself by globbing the working directory; ask only when nothing is found or the choice is genuinely ambiguous |
| Test framework | No | MSTest, NUnit, xUnit.net v2, or xUnit.net v3. Auto-detected from package references |
| .NET SDK version | No | Determines dotnet test integration mode. Prefer the repository's global.json or explicitly stated CI SDK; use host dotnet --version only when the repository does not pin or state one |
test cases passed, vs 7 / 16 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.