Best fit
Finds unit tests that pass without testing anything: no assertions, trivial assertions, tests that assert the mock.
Find tests that pass, raise coverage, and still fail to prove behavior. Test Quality Auditor turns suspicious Jest, Vitest, pytest, and unittest patterns into a review queue without changing the suite.
Point the workflow at a repository or a smaller test directory. It looks at common JavaScript and TypeScript test and spec files for Jest or Vitest, plus Python test_*.py and *_test.py files used by pytest or unittest.
That scope keeps the first pass focused on test evidence. Other languages and custom file conventions are not currently covered.
A generated test mocks getUser() to return {role: 'admin'}, calls the wrapper, and asserts that the result is {role: 'admin'}. The test passes, but it verifies the mock setup rather than the wrapper's authorization behavior. The auditor flags that evidence and asks for an assertion tied to an observable contract or failure mode.
Each finding is structured for review rather than automatic deletion:
The Agensi listing declares network, terminal, and file-read access. The documented audit reads matching local test files and may run its bundled local helper. It writes nothing and reads no environment variables.
Those are declared permissions, not a reason to skip review. Inspect the package and the exact permission prompt your agent presents, limit the working directory to the tests you intend to audit, and do not grant broader access than the job requires.
This is a heuristic review, not proof that a test is useless or that a suite is effective. A legitimate isolation test can resemble over-mocking, and a snapshot can be valuable when it is focused and deliberately reviewed. The workflow does not execute mutations or measure whether production-code changes survive the suite.
Use the findings as a ranked reading list. For high-risk code, follow the review with behavior-focused assertions and mutation testing when you need evidence that the suite detects real changes.
The AI-generated test audit guide gives you a proof-first manual workflow for assertions, async paths, expected-value provenance, mocks, snapshots, and deliberate falsification before you buy or run the packaged audit.
Finds unit tests that pass without testing anything: no assertions, trivial assertions, tests that assert the mock.
Finds unit tests that pass without testing anything: no assertions, trivial assertions, tests that assert the mock.
Do not treat a successful run as proof beyond the supplied files, declared scope, and evidence the skill actually checked.
It flags tests with no assertions, trivial or tautological checks, assertions that only repeat mocked values, snapshot-only coverage, placeholders, and suspicious over-mocking.
It scans JavaScript and TypeScript test or spec files used by Jest and Vitest, plus Python test files used by pytest and unittest. Other languages are not currently covered.
Coverage shows which code executed. This audit asks whether the test contains a meaningful observation that could fail when behavior changes. It complements coverage rather than replacing it.
Each finding includes a rule, severity, file, line, evidence, and a plain-language remediation so you can review the riskiest tests first.
The marketplace declares network, terminal, and file-read access. The documented scan reads matching local test files and may run its local helper; it writes nothing and reads no environment variables. Review the package and your agent's permission prompt before running it.
No. Its rules are heuristic and legitimate tests can be flagged, especially for over-mocking. Pair the review with behavior-focused assertions and, where the risk justifies it, mutation testing.
Current price and purchase option are shown on Agensi. Review the declared permissions and package contents there before installation.
Get Test Quality Auditor on Agensi