News for hackers. Stuff that matters.
Re:Unit Testing is Overrated (2020) by Ygg2 on Saturday April 09, 2022 @09:46AM (#30968028)
> Not really. Writing unit tests is all about verifying behavior from combinations of inputs, and side effects are inputs as well.

Well, except it's not. If you use a side effect, you have to account for it in some way via mocks or whatever.

There are no comments on this comment yet.