Hacker News new | ask | show | jobs
by LtWorf 124 days ago
100% coverage and useful tests aren't the same thing. Why are we still not aware of this?
1 comments

I'm speaking in the context of building scaffolding for e2e testing, not the tests themselves.

When I say "everything" I mean the frontend, backend, database, seeded data, optimizing runtime etc, I'm not talking about loc coverage. I would not recommend using llms to generate the tests themselves without heavy guidance and review, and you're right that 100% coverage is often a counterproductive goal if the code under test is anything less than pure business logic.