logoalt Hacker News

catigulayesterday at 7:47 PM1 replyview on HN

Having AI generate tests is technical debt unless what you're doing is extremely trivial and well-trodden in which case you can basically gen all of the code and not care at all.

Tests are where the moat still exists because prior to creating tests the outcomes are unverifiable.


Replies

Yodel0914yesterday at 8:54 PM

As somewhat of an AI-agnostic, I disagree. Writing tests is one of the things I find most useful about copilot. Of course you need to review them first correctness, but (especially for unit tests) it’s pretty good and getting it right first-time.

show 1 reply