News for hackers. Stuff that matters.
Re:There’s No Such Thing as Clean Code by MaxBarraclough on Saturday January 29, 2022 @06:48PM (#30131871)
> > One assert per test

> Was meant to make a failed test instantly communicate what's wrong with the unit under test. As frameworks evolve and our practices around them change, it's absolutely fine to come up with new rules.

To put a finer point on that then, you're saying the rule is obsolete if your test framework allows assert statements to accept message strings?

There are no comments on this comment yet.