Hacker News new | ask | show | jobs
by MattPalmer1086 410 days ago
Don't get hung up on the word "coverage". We all know test coverage isn't a great metric.

I just used IntelliJ AI to generate loads of tests for some old code I couldn't be bothered to finish.

It wrote tests I wouldn't have written even if I could be bothered. So the "coverage" was certainly better. But more to the point, these were good tests that dealt with some edge cases that were nice to have.