
Description
assertion-quality is an agent skill from Microsoft's dotnet skills collection, listed on skills.sh. It analyzes the assertions in existing tests to measure how varied and meaningful they are, and to find weak, shallow, trivial or always-true checks that give false confidence. The skill works on test code in any supported language. It produces a metrics report that shows whether tests check different facets of correctness, such as structure, exceptions, state transitions, side effects and invariants, rather than only the output equals a value. For each language, the skill reads a catalog of test analysis extensions and then the matching language guidance, for example for .NET, Python, TypeScript and Go. Its description says it should be used whenever someone asks about weak or trivial tests. The catalog is reference only, so the skill does not change the tests it reviews.…
Highlights
- Measures assertion variety and depth
- Flags trivial and always-true checks
- Metrics report on test facets
- Language guidance for .NET, Python, TypeScript and Go
Ratings & Reviews
No ratings yet
Be the first to rate assertion-quality.
People also visit

test-anti-patterns
Audit a test file or suite; produce a severity-ranked diagnostic report
assertion-quality FAQ
What does the assertion-quality skill do?
It analyzes the assertions in your tests and reports how varied and meaningful they are, and where they are weak.
How do I install it?
Run: npx skills add https://github.com/dotnet/skills --skill assertion-quality
Is it free?
Yes. The skill is listed as free on skills.sh.
Which languages does it support?
Any supported test language, with specific guidance for .NET, Python, TypeScript and Go.
Does it change my tests?
No. The skill says its reference catalog is for analysis only.
What are the best assertion-quality alternatives?
Popular alternatives to assertion-quality include captain-obvious, test-anti-patterns and test-smell-detection. See all assertion-quality alternatives















