Re:Stop requiring only one assertion per unit test: Multiple...
by mynameisvlad on Saturday November 05, 2022 @11:51AM
(#33482610)
I mean in your example it’s someone choosing not to use asserts. Which is a problem, don’t get me wrong, but it’s not the problem being talked about here.
The comment thread is about “Assertion Roulette” — having so many assertions you don’t know which went off. Which really seems like a test framework issue more than a test issue.
Granted, this is not the way to do things. But it happens anyway.