Timeline for Do I need unit test if I already have integration test?
Current License: CC BY-SA 3.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 14, 2021 at 13:55 | comment | added | Fr Jeremy Krieg | Moreover, in addition to what @Casey wrote, when you refactor your units as a result of problems you've run into at the integration level (which happens often), you'll discover that much of the unit code you wrote (along with its corresponding unit tests) was incorrect or even completely redundant/superfluous. This happens less often when you focus your testing efforts at a higher level (eg, integration test). | |
| Mar 18, 2015 at 19:28 | comment | added | Casey | I don't feel you've made the case. Integration tests would also reveal bugs in the code, and in fact are capable of catching bugs that unit tests will not. | |
| Jul 14, 2013 at 21:53 | history | answered | Matthew Flynn | CC BY-SA 3.0 |