
π§ͺ Test Quality Auditor
Find the unit tests that pass without testing anything. Flags tests with no assertions, trivial existence-only checks (toBeDefined, assertIsNotNone), tests that assert the exact value they just mocked, snapshot-only tests, tautological assertions (expect(true).toBe(true)), empty placeholders, and over-mocked tests with more setup than assertions. Works on Jest/Vitest and pytest/unittest.
- Detect tests that pass without actually asserting any logic.
- Identify "mock-only" checks where the test confirms its own setup.
- Find over-mocked tests that provide a high ratio of mocks to actual code.
$15
Β· or 75 creditsSecure checkout via Stripe
Included in download
- Detect tests that pass without actually asserting any logic.
- Identify "mock-only" checks where the test confirms its own setup.
- network, terminal, file_read automation included
- Ready for Cursor
Sample input
Audit my recent unit tests in the services/ directory to see if they are actually effective or just inflating coverage.
Sample output
Test Quality Audit Results
File: services/auth.service.spec.ts
Line: 42
Issue: [TAUTOLOGY] High Severity
Evidence: expect(mockUser).toBe(mockUser)
Remediation: Test is asserting the input mock instead of the service return value. Update to assert actual output.

π§ͺ Test Quality Auditor
Find the unit tests that pass without testing anything. Flags tests with no assertions, trivial existence-only checks (toBeDefined, assertIsNotNone), tests that assert the exact value they just mocked, snapshot-only tests, tautological assertions (expect(true).toBe(true)), empty placeholders, and over-mocked tests with more setup than assertions. Works on Jest/Vitest and pytest/unittest.
$15
Β· or 75 creditsSecure checkout via Stripe
Included in download
- Detect tests that pass without actually asserting any logic.
- Identify "mock-only" checks where the test confirms its own setup.
- network, terminal, file_read automation included
- Ready for Cursor
- Instant install
Sample input
Audit my recent unit tests in the services/ directory to see if they are actually effective or just inflating coverage.
Sample output
Test Quality Audit Results
File: services/auth.service.spec.ts
Line: 42
Issue: [TAUTOLOGY] High Severity
Evidence: expect(mockUser).toBe(mockUser)
Remediation: Test is asserting the input mock instead of the service return value. Update to assert actual output.
About This Skill
What it does
The Test Quality Auditor is a specialized diagnostic tool designed to uncover "security theater" in your test suite. It identifies tests that pass but provide zero actual verification, such as tests with missing assertions, tautological checks, or tests that accidentally assert the behavior of a mock rather than the system under test.
Why use this skill
High test coverage numbers often hide poor test quality. This skill goes beyond simple coverage metrics to find tests that give a false sense of security. It saves developers hours of manual code review by automatically flagging trivial assertions, over-mocking ratios, and placeholder tests that should have been deleted or finished.
Supported tools
- Languages: JavaScript, TypeScript, and Python.
- Frameworks: Compatible with standard runners like Jest, Vitest, and Pytest.
- Output: Provides structured reports including severity levels, specific line numbers, and actionable remediation guidance.
The Output
The auditor produces a detailed report for each flagged test, highlighting the specific evidence of poor quality and providing a clear path to fix it, ensuring your test suite becomes a reliable safety net.
Use Cases
- Detect tests that pass without actually asserting any logic.
- Identify "mock-only" checks where the test confirms its own setup.
- Find over-mocked tests that provide a high ratio of mocks to actual code.
- Surface placeholder tests and empty snapshot tests before they reach production.
Known Limitations
Heuristic detector. It flags tests that are unlikely to catch a bug; it does not judge whether a test's intent is correct, and a legitimate test can occasionally trip a heuristic (the over-mocking ratio especially). It covers JavaScript/TypeScript and Python test styles; other languages are out of scope.
How to Install
mkdir -p ~/.claude/skills && curl -sL https://www.agensi.io/api/install/test-quality-auditor -o /tmp/test-quality-auditor.zip && unzip -o /tmp/test-quality-auditor.zip -d ~/.claude/skills && rm /tmp/test-quality-auditor.zipFree skills install directly. Paid skills require purchase - use the download button above after buying.
Reviews
No reviews yet - be the first to share your experience.
Only users who have downloaded or purchased this skill can leave a review.
Early access skill
Be the first to review this skill.
Only users who have downloaded or purchased this skill can leave a review.
Security Scanned
Passed automated security review
Permissions
File Scopes
Notes: Read-only. Prints each finding with rule id, severity, file, and line. Writes nothing and reads no environment variables.
Works with any agent that can read a repo and run a local Python script (Claude Code, Cursor, Codex CLI, and other SKILL.md-compatible agents). Standard library only, no install step. Read-only.