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

True - but you can ask the chatbot to write a test suite too.


This doesn’t really make sense? If I can’t trust the code it writes, why should I trust that it can write a comprehensive test suite?


Because you can read the test suite to check what it's testing, then break the implementation and run the tests and check they fail, then break a test and run them and check that fails too.

You have to review the code these thing write for you, just like code from any other collaborator.


Because the bugs in its code and the bugs in its test suites usually don't line up and cancel each other out.




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

Search: