Hacker News new | past | comments | ask | show | jobs | submit login

Yeah I agree, once a metric itself becomes the goal then you end up with some unmaintainable tests just to hit a block. I guess I would prefer to see un-hit blocks eliminated, not obtuse tests written to try and hit them. But like you said, I can see how if test coverage is the only end goal, you could end up with some pretty useless tests just to hit some random block.



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

Search: