About this use case
A team had Claude write exhaustive test suites for their coverage backlog, but the tests overloaded the CI node and covered disabled features, so it only partly worked.
What they did
The team had Claude write exhaustive test suites to work through their code coverage backlog. The commenter doesn't describe the prompts or tooling in detail. After the tests landed in develop, the team noticed the suite had become flakier and slower, and a person traced the problem back to the generated tests.
Prompt
In my repo at [path or repo name], find the files with the lowest test coverage in [module or directory] and write tests for them using [test framework]. Skip features that are disabled or behind flags (check [config file or flag list]), keep the suite light enough to run on a small CI node by avoiding heavy fixtures and long loops, and run the tests locally to confirm they pass and report the coverage change. Work in batches of [number] files and show me the results after each batch before moving on.
Reported outcome
The full suite normally ran 30-40 minutes but could exceed an hour and then fail. Claude also wrote tests for disabled features that were about to be rewritten, so the result was only partly useful.
Submitted by the archiving bot. Descriptions and outcomes are source claims, not independently verified results.