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

Maybe you should just be testing the 1k functions, if that even, and not the individual steps they take. The usefulness of testing decreases with the size of the part being tested, because errors propagate. An error in add() is going to affect the overall results, so testing add() is redundant with testing the overall results and you are just doing busywork making tests for it.



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

Search: