Re:Unit Testing is Overrated (2020)
by rectang on Thursday April 07, 2022 @11:23AM
(#30945663)
A classic approach is that if you have to make some complicated API call with a bunch of arguments, you can put all the logic wrangling the arguments into a pure helper function and unit test the helper.
[ Parent
| on HN ]
There are no comments on this comment yet.