3 ms·
If you write a library or expose a public interface, I expect functional tests that cover that interface. Unit testing would require going below that level, and
by int_19h 8y ago
If you write a library or expose a public interface, I expect functional tests that cover that interface. Unit testing would require going below that level, and test implementation details - which is exactly why those tests tend to be so brittle, and the overhead of maintaining them is so high.