Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. All-pairs testing
or pairwise testing is a combinatorial software testing method that, for
each pair of input parameters to a system, tests all possible discrete
combinations of those parameters. Using carefully chosen test vectors,
this can be done much faster than an exhaustive search of all
combinations of all parameters, by "parallelizing" the tests of
parameter pairs. The number of tests is typically O(nm), where n and m
are the number of possibilities for each of the two parameters with the
most choices. The reasoning behind all-pairs testing is this: the
simplest bugs in a program are generally triggered by a single input
parameter. The next simplest category of bugs consists of those
dependent on interactions between pairs of parameters, which can be
caught with all-pairs testing. Bugs involving interactions between three
or more parameters are progressively less common, whilst at the same
time being progressively more expensive to find by exhaustive testing,
which has as its limit the exhaustive testing of all possible inputs.