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

> writes 4 pages of automated tests that work right on the first try

Not sure that’s the right criterion to assess the quality and adequacy of tests.



I'd be impressed if AI wrote a test suite that immediately found a bunch of valid bugs. I'd be nonplussed if it wrote a test suite that "passed" on the first try. The presence of passing tests does not imply an absence of bugs, and the hard part of developing a test suite is the test design, not the implementation.


But my GitHub badge says I have 105% test coverage! That means there are negative bugs, right...?


lol, fair enough, but I would never commit a line of code I hadn't carefully read myself. my new class was basic, so the new unit test was basic as well, but it was thorough and correct. And I exaggerated a bit; I did write 3 or 4 comments to give the ai some idea of where I was heading.




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

Search: