Assertion Quality Analyzer
Evaluates test suites across multiple programming languages to measure assertion diversity, detect shallow checks, and generate comprehensive assertion quality reports.
Assertion Quality Analyzer evaluates existing unit and integration test suites across multiple programming languages to identify weak, trivial, tautological, or missing assertions. By categorizing assertions across twelve distinct dimensions—including equality, exceptions, state changes, negative checks, and deep structural verification—the skill delivers actionable quality metrics and highlights false-confidence risks where tests pass without meaningfully validating system behavior.
Key Features
01Computes suite-wide and per-test metrics for assertion diversity and coverage depth
02Detects assertion-free tests, self-referential tautologies, and shallow truthiness checks
03Provides pre-completion review gates for newly generated automated test suites
040 GitHub stars
05Supports polyglot environments with tailored rules for .NET, Python, TypeScript, Go, and more
06Classifies test assertions across 12 dimensions including structural, state-mutation, and negative checks
Use Cases
01Auditing legacy test suites to eliminate false confidence and find unasserted logic
02Reviewing AI-generated unit tests to verify assertion depth before merging code
03Benchmarking test assertion variety and completeness across microservices and repositories