News for hackers. Stuff that matters.
Re:Stop requiring only one assertion per unit test: Multiple... by mjul on Saturday November 05, 2022 @08:37AM (#33480832)
Just use you best judgement and you will be fine.

Patterns are context specific advice about a solution and its trade-offs, not hard rules for every situation.

Notice how pattern books will often state the relevant Context, the Problem itself, the Forces influencing it, and a Solution.

(This formulaic approach is also why pattern books tend to be a dry read).

There are no comments on this comment yet.