3 ms·
This describes my experience with unit testing perfectly. What I try to do is just write small functions that feel like they would be well suited for a unit te
by danielvaughn 5y ago
This describes my experience with unit testing perfectly.
What I try to do is just write small functions that feel like they would be well suited for a unit test. I find that makes them much easier to read, and reason about. I don’t even bother writing tests.