April 2016
Intermediate to advanced
222 pages
4h 30m
English
Tests can fool us with failures when the code actually works fine (false negatives) and successes when the code is broken (false positives). There is no way to completely eliminate false results, but we can reduce their likelihood by keeping tests simple and doing sanity checks. Sometimes our tests might seem like they are not doing enough, or we may seem to be checking for redundant things that we expect never to break. That is simply the price we have to pay to minimize the chance that our tests are fooling us.
Let's cover three useful tactics to reduce false results:
Detecting false results is a fundamental concern of testing, ...
Read now
Unlock full access