Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> To do this, my agent writes the test, then it deletes the code it covers, reruns the test, confirms it goes red, and finally puts the code back.

Why? Are you aware of red/green/refactor?



no op but the tests shouldn't fail on a missing import. it proves nothing. I think what he means is that he makes sure that the test don't pass on testing something else pre-existing. i'm also struggling with vibe coded tests, sometimes they just test for random irrelevant stuff




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: