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

Yes, automated tests are almost debugging by a script.

If you've ever used GDB in command-line mode then it's evident to you that it's the same thing. You can write tests of any level.

With a bit less funky GDB it's completely viable to solve a hard task of writing unit tests for the old untestable code without refactoring for example.



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

Search: