False-Confidence Test Audit
Find tests whose green result overstates what they prove. This is an evidence audit, not a request to maximize coverage or replace outcome tests with implementation checks.
Workflow
- State the suite's claimed behavior and identify the production boundary that should make the claim observable.
- Run the narrow test unchanged and record its command and result.
- Inspect for assertions that cannot fail, status-only assertions, permissive schemas, broad truthiness checks, over-mocked boundaries, implementation mirroring, skipped CI lanes, missing negative cases, and fixtures that bypass the behavior under test.
- For each suspected weakness, propose the smallest probe that would make the test fail if the production behavior were broken. Prefer a temporary mutation, boundary substitution, or explicit counterexample when safe.
- Separate confirmed weaknesses from hypotheses. Record limitations when a probe cannot be run.
- Fix only confirmed weaknesses, then demonstrate that the strengthened test fails against the broken behavior and passes against the correct behavior.
Boundaries
- Never weaken production behavior to make a test easier to write.
- Do not delete a test merely because it overlaps another; identify the distinct claim first.
- Do not introduce sleeps, network dependence, random timing, or broad HTML snapshots as substitutes for behavioral evidence.
- Full mutation testing is optional and must be budgeted separately.
Completion
Return output matching the declared result schema. A clean audit states what was inspected and which claims were actually challenged; “no findings” without commands and limitations is incomplete.