3 ms·
There are studies on the effectiveness of unit tests (and other layers of tests) from the 1980s. Unit tests catch about 20% of bugs. Integration tests catch 40%
by snovv_crash 4y ago
There are studies on the effectiveness of unit tests (and other layers of tests) from the 1980s. Unit tests catch about 20% of bugs. Integration tests catch 40% of bugs, but the overlap between the two is small, so you still benefit from having both.
Which one came first is irrelevant, the question is if they help us write better software.
- endofreach 4y agoThat is an interesting fact, thank you. My point was a different one - and not a serious one… but anyway. Thanks for the stats!