The agent follows a structured pipeline instead of generating tests immediately :
The RPI process consists of three steps: Research, Plan, and Implement .
The agent performs a lightweight form of mutation testing and quality assurance on every generated test :
This ensures a test that "passes" is actually meaningful and discoverable in CI . The agent writes unit tests that isolate the code under test and mock external services and other outside dependencies .
The agent ships as the dotnet-test plugin within the MIT-licensed dotnet/skills repository on GitHub . It works with :
Because it is shipped as an agent definition rather than a hosted service, it runs inside whatever coding agent a team already uses, with code staying local rather than round-tripping through an external service .
On Microsoft's internal benchmark of 152 tasks, the code-testing-generator agent completed 140 tasks (92.1%) versus 120 tasks (78.9%) for stock GitHub Copilot . This performance gap highlights the advantage of a specialized agent that researches the codebase before generating tests, rather than relying on a general-purpose prompt .