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

That maps better with the lectures I've seen of him on YouTube, and I concur with it.

When I first wrote tests years ago, I would try to test everything in one test function. I think juniors have a tendency to do that in functions overall - it's par to see 30-100+ line functions that might be doing just a little too much on their own, and test functions are no different.



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

Search: