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

Yes, I'll write a test for something that I know from experience is likely to give me trouble later on with regression problems

Writing a test when you find a bug and then fixing the bug is also quite handy sometimes

And I'll write tests upfront when there's well defined outcomes and I know the code is going to be tricky

But I'm not going to write tests for dumb stuff that I know wont break



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

Search: