Y
Hacker News
new
|
ask
|
show
|
jobs
by
dwgebler
1491 days ago
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.