
test-anti-patterns
Audit a test file or suite; produce a severity-ranked diagnostic report
by dotnetFree
Description
Test Anti-Pattern Detection is an agent skill that audits a test file or a whole test suite and produces a severity-ranked diagnostic report. It looks for anti-patterns and quality problems that weaken tests: tests that verify nothing, missing or tautological assertions, and the other patterns that make tests unreliable, hard to maintain or poor at explaining failures. The skill works on test code in any supported language. For language-specific rules it reads a matching reference file from a test-analysis catalog, and when those files are not present it falls back to built-in framework rules. The skill is triggered by requests such as review my test quality, find test smells, why are my tests flaky, and are my tests good. It is meant for the step before a change, when you want diagnostic findings and then decide what to improve. The output is a report of the findings, ranked by severity, so the most damaging problems are read first. Use it on a test file that passes but seems to prove little, or on a suite that fails intermittently without a clear cause.…
Highlights
- Severity-ranked report of test anti-patterns
- Finds tests that verify nothing or assert too little
- Language-specific rules with built-in fallbacks
- Diagnostics before deciding what to change
Ratings & Reviews
No ratings yet
Be the first to rate test-anti-patterns.
People also visit
test-anti-patterns FAQ
What does the skill return?
A diagnostic report of anti-patterns in a test file or suite, ranked by severity.
Which languages does it support?
The skill says it works on test code in any supported language, using language-specific reference files where they are available.
How do I install it?
Run npx skills add https://github.com/dotnet/skills --skill test-anti-patterns 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 test-anti-patterns alternatives?
Popular alternatives to test-anti-patterns include captain-obvious, assertion-quality and test-smell-detection. See all test-anti-patterns alternatives













