The Assertion Quality Analyzer is a polyglot Claude Code skill designed to evaluate the effectiveness of test suites by examining assertion diversity and depth. It goes beyond simple code coverage to identify shallow testing patterns—such as tests with only trivial null checks, tautological assertions, or missing negative verification—across ecosystems like .NET, Python, JavaScript, and more. By providing actionable metrics and classification reports, it helps developers ensure their tests are actually verifying complex behaviors, state transitions, and error handling rather than providing a false sense of security.
主要功能
01Generates suite-wide metrics for assertion density, diversity, and coverage gaps.
02Detects 'shallow' testing like trivial null checks and tautological assertions.
033,370 GitHub stars
04Polyglot support for 10+ languages including .NET, Python, TS/JS, Java, Go, and Rust.
05Identifies assertion-free tests that inflate coverage metrics without verifying logic.
06Classifies assertions into 12 categories including state, structural, and negative checks.
使用场景
01Auditing a legacy codebase to find tests that provide false confidence.
02Reviewing pull requests to ensure new tests meet quality standards for assertion variety.
03Improving test suite depth by identifying missing negative and state-change assertions.