3 ms·
100% coverage and useful tests aren't the same thing. Why are we still not aware of this?
by LtWorf 3mo ago
100% coverage and useful tests aren't the same thing. Why are we still not aware of this?
- p1necone 3mo agoI'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.