3 ms·
Integration tests catch more bugs. In fact unit tests are fairly low on the scale, according to this: https://kev.inburke.com/kevin/the-best-ways-to-find-bugs-
by collyw 10y ago
Integration tests catch more bugs.
In fact unit tests are fairly low on the scale, according to this:
https://kev.inburke.com/kevin/the-best-ways-to-find-bugs-in-your-code/ https://kev.inburke.com/kevin/the-best-ways-to-find-bugs-in-...
- flukus 10y agoBugs caught is only one axis though, they other is effort. Unit testing is much lower effort, particularly for edge cases (what happens if dependency x throws exception) which may be hard/impossible with integration tests.