The dotnet-test plugin provides skills and agents for running, generating, analyzing, and improving tests. While originally built for .NET (MSTest, xUnit, NUnit, TUnit), many of its core features are polyglot and support multiple languages including Python, TypeScript/JavaScript, Java, Go, Ruby, Rust, Swift, Kotlin, PowerShell, and C++.
Key Capabilities:
- Test Execution: Run .NET tests with automatic detection.
- Test Generation: Scaffold unit tests for any language via a multi-agent pipeline.
- Test Quality Audit: Detect anti-patterns, smells, and assertion gaps (polyglot).
- Coverage & Risk: Collect code coverage and compute CRAP scores (.NET only).
- Testability Improvement: Identify and fix hard-to-test static dependencies (.NET only).
Note: Test framework/platform migration (e.g., xUnit to MSTest) is handled by the separate dotnet-test-migration plugin.