@dotnet/assertion-quality

Analyzes the variety and depth of assertions across test suites in any language. Use when the user asks to evaluate assertion quality, find shallow testing, identify assertion-free tests (no assertions or only trivial ones like Assert.IsNotNull / expect(x).toBeTruthy() / assert x is not None), flag self-referential or tautological assertions (output equals input on identity/round-trip operations), measure assertion coverage diversity, or audit whether tests verify different facets of correctness. Produces metrics and actionable recommendations. Polyglot: .NET (MSTest/xUnit/NUnit/TUnit), Python (pytest/unittest), TS/JS (Jest/Vitest/Mocha/Jasmine/node:test), Java (JUnit/TestNG), Go, Ruby (RSpec/Minitest), Rust, Swift (XCTest/Swift Testing), Kotlin (JUnit/Kotest), PowerShell (Pester), C++ (GoogleTest/Catch2/doctest). DO NOT USE FOR: writing new tests (use code-testing-agent, or writing-mstest-tests for MSTest), anti-patterns like flakiness or duplication (use test-anti-patterns), fixing assertions.

View in AI SkillSafe app
Scanned · no findings
0 downloads
0 stars
0 demos
SKILL.md

Embed badges

Add these to your README to show the skill's verification status.

SkillSafe verified badge
Verified badge
[![SkillSafe verified badge](https://api.skillsafe.ai/v1/badge/@dotnet/assertion-quality/verified)](https://skillsafe.ai/skill/@dotnet/assertion-quality/)
Installs badge
Installs badge
[![Installs badge](https://api.skillsafe.ai/v1/badge/@dotnet/assertion-quality/installs)](https://skillsafe.ai/skill/@dotnet/assertion-quality/)
Scan badge
Scan badge
[![Scan badge](https://api.skillsafe.ai/v1/badge/@dotnet/assertion-quality/scan)](https://skillsafe.ai/skill/@dotnet/assertion-quality/)
Eval pass rate badge
Eval pass rate
[![Eval pass rate badge](https://api.skillsafe.ai/v1/badge/@dotnet/assertion-quality/eval)](https://skillsafe.ai/skill/@dotnet/assertion-quality/)