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

It's not that there's anything inherently wrong with multiple assertions in a unit test, it's that it's often a smell you're testing multiple behaviours in a single test - which is the thing you should avoid.


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

Search: