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

I've been asked to literally test that values are incremented. Like, does ++ add 1 to the value in C, just to be safe, for the sake of 100% coverage.



I've seen tests that essentially look like that, and tests that, when you really look at it, pretty much just test the testing framework and mocking library and don't really exercise application code. It's infuriatingly useless.




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

Search: