4 ms·
> "You can save yourself a lot of hassle if you just stick to writing tests for the things that are relatively straightforward to test" Yup. Focus most of you
by cellularmitosis 6y ago
> "You can save yourself a lot of hassle if you just stick to writing tests for the things that are relatively straightforward to test"
Yup. Focus most of your effort on testing your pure functions. If you've followed functional core / imperative shell, typically what's left in the shell isn't very interesting from a testing perspective.
And if the majority of your codebase is still in the imperative shell, well, time to get to work :)
https://www.destroyallsoftware.com/talks/boundaries https://www.destroyallsoftware.com/talks/boundaries