September 2016
Intermediate to advanced
336 pages
9h 33m
English
Occasionally we end up writing a lot of tests that look strikingly similar. It almost feels like we’ve turned a table containing inputs and expected outputs into identical test cases. In Chapter 8, “Specification-based Testing Techniques,” in the “Boundary Value Analysis” section, there was an example of logic for computing a factor that would determine the cost of car insurance premiums. It was a discontinuous function, which means that thorough testing of it would involve several equivalence classes and strict boundary values. Here’s the function again:

Given the importance age has on the final ...
Read now
Unlock full access