logoalt Hacker News

sakuraibentoday at 2:59 AM4 repliesview on HN

One thing I've noticed using agents for coding is that they really like to write thousands of unit tests but not dynamically test.


Replies

drivebyhootingtoday at 3:17 AM

And they like to burn a ton of tokens writing and debugging tests that are semantically corrupt.

esperenttoday at 5:41 AM

Unit tests are a type of dynamic testing. As opposed to static testing which is linting/typechecking etc.

If you want a difference kind of dynamic testing besides unit tests, have you tried writing it in as a requirement during the planning/PRD phase?

gib444today at 3:52 AM

And AWS heavily pushes a complex lambda solution stringing together as many chargeable AWS services as possible for a simple requirement

Their interests are often not your interests. In this case they want you to unnecessary money on useless work (let's stop the euphemism of "tokens" btw)

make3today at 3:03 AM

you can just tell them to do more dynamic testing. I think dynamic testing is partly frowned upon because it slows things down & can take down software where you wouldn't expect