Quantcast
Channel: Are (database) integration tests bad? - Software Engineering Stack Exchange
Viewing all articles
Browse latest Browse all 12

Answer by Nick Alexeev for Are (database) integration tests bad?

$
0
0

Unit tests don't catch all defects. But they are cheaper to set up and (re)run compared that other kinds of tests. The unit tests are justified by combination of moderate value and low-to-moderate cost.

Here's a table showing defect detection rates for different kinds of testing.

enter image description here

source: p.470 in Code Complete 2 by McConnell


Viewing all articles
Browse latest Browse all 12

Trending Articles