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

Usually you want to fix the code that's failing a test.

The assumption is that your test is right. That's TDD. Then you write your code to conform to the tests. Otherwise what's the point of the tests if you're just trying to rewrite them until they pass?



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

Search: