
run-tests
ALWAYS USE before running .NET tests or answering with a test command or flags
by dotnetFree
Description
Run .NET Tests is an agent skill that makes an AI assistant return, or run, the exact test command for a .NET repository. Its purpose is to stop the agent from guessing at test commands. Before it answers with a test command or flags, the agent must match the command to the repository's project system, test platform, framework and SDK mode. The skill is written to trigger on the kinds of requests developers make: run the tests, or give me the exact dotnet test command. It also has a repository overlay section, where the rules for a specific project can be added on top of the general guidance. The output is the command or the sequence of commands that fits that repository, and the agent runs it when asked to execute the tests. It is useful when a .NET project has more than one test framework or a non-standard layout, since a generic dotnet test command is then often wrong. The skill is part of the dotnet/skills repository on GitHub, which is public and holds the other .NET agent skills in this listing.…
Highlights
- Exact dotnet test command for the repository
- Matches project system, test platform and SDK mode
- Repository overlay for project-specific rules
- Runs the command when asked to execute tests
Ratings & Reviews
No ratings yet
Be the first to rate run-tests.
People also visit

migrate-nunit-to-mstest
Convert .NET tests from NUnit 3/4 to MSTest v4 while preserving VSTest or MTP
run-tests FAQ
What does this skill do?
It makes an AI agent work out the right .NET test command for a repository and run it when asked, instead of guessing.
Who is it for?
Developers working on .NET repositories who ask an agent to run tests or explain the correct test command.
How do I install it?
Run npx skills add https://github.com/dotnet/skills --skill run-tests in your project.
Is it free and open source?
Yes. It is published in the public dotnet/skills repository on GitHub.
What do the security audits say?
skills.sh lists Gen Agent Trust Hub: Pass, Socket: Pass and Snyk: Pass for this skill.
What are the best run-tests alternatives?
Popular alternatives to run-tests include platform-detection, migrate-vstest-to-mtp and writing-mstest-tests. See all run-tests alternatives










