News for hackers. Stuff that matters.
Re:Stop requiring only one assertion per unit test: Multiple... by jmount on Saturday November 05, 2022 @10:50AM (#33482008)
Nice framework. Also once you allow more than one assertion, there is no need for top-level && in assertions (making them simpler tests).
Re:Stop requiring only one assertion per unit test: Multiple... by torginus on Saturday November 05, 2022 @10:53AM (#33482036)
While there is no strict need, sometimes assertions logically belong together.
Re:Stop requiring only one assertion per unit test: Multiple... by erik_seaberg on Saturday November 05, 2022 @04:48PM (#33485530)
You definitely want x || y, x ^^ y, and x implies y.