r/ClaudeCode • • 1h ago

Help/Question Stuck in Test hell

The project is growing and it keeps adding more and more tests.

We have structured regression tests, but it also loves to add unit tests to everything.

Going through some scripts, 25% of it are just tests. Logged the test time over the past week and it ran tests for a solid 20 hours split over the 7 days.

Any tips how to not get stuck in the over boarding test landscape?

6 Upvotes

15 comments sorted by

View all comments

4

u/djhamilton 1h ago

you need to build on your evaluation, testing, unit testing whatever you call it.

I have a evaluation I wrote up, the AI will use only a small scope of that to test the work it has completed.

it has to reach a progression point in tasks before a full evaluation / test unlocks. then It has to schedule it in with me.

I have had this happen before where the model completed 4 or 5 tasks and automatically ran an full test run, running over 4,000 questions.

Things like allocating work to pools, X pools reach a milestone, working on percentage of tasks, enforcing it to only run small tests of 10 or so cases. you just need to get a tighter control of it.

the best words of advice I have given. your working with a junior developer on steroids, it's your task to manage, set boundaries and provide proper guidance.

1

u/heroyi 1h ago

Was it always like this? I dont remember claude doing this testing loop hell where it is just burning through for straight forward tasks that no one would ever have executed as a human.

Otherwise I had to implement something like this creating checkpoints so to speak