3 ms·
> 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 yo
by Ygg2 5y ago
> 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.