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

A related evil is when people start with a test that orchestrates the whole flow, copy it, and make one small change towards the beginning of the flow. They know, at the time of doing this, that the part they care about happens after one second. They could just let it crash and burn after making the critical assertion and the test would be just as useful.

But they commit an entirely new test filled with redundant stuff that takes way longer than is necessary and makes it unclear which assertion was the critical one. Because hey, look at all that green text in my PR. I'm so thorough.



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

Search: