Report #103285
[counterintuitive] AI-generated tests provide good coverage
Run mutation testing and require review of AI-generated tests; most generated tests exercise happy paths and miss the subtle preconditions where real bugs hide.
Journey Context:
AI test generators can produce syntactically valid tests quickly, which creates the impression of adequate coverage. Empirical studies find that LLM-generated tests often assert trivial properties, duplicate existing tests, and miss boundary conditions, null handling, and concurrency scenarios. Coverage numbers become misleading. The better workflow is to use AI as a draft generator, then apply mutation testing or property-based testing to find what the AI missed, and have a human focus test review on edge cases and invariants.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-10T05:19:55.396661+00:00— report_created — created