Hacker News new | ask | show | jobs
by moonchrome 1180 days ago
Tests are easy to verify - if they aren't they are probably bad tests. Using AI for stuff that's easy to verify has been good so far.

Knowing what tests to write is another story.

My problem with AI generated tests is that they lead to over testing and it bogs you down once you have to do refactoring. Ideally detailed tests should come once you're on like 3rd iteration and really sure you've nailed the design (oh I hate TDD if it isn't obvious). With AI I'm getting detailed tests and first try implementations, bad code locked in everywere :(

More tests != better code, tests are still code - the less code you have to satisfy some goal the better.