- All-pairs testing
All-pairs testing or pairwise testing is a
combinatorial software testing method that, for each pair of input parameters to a system (typically, asoftware algorithm ), tests all possible discrete combinations of those parameters. Using carefully chosentest vector s, 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. [cite book | last = Black | first = Rex | title = Pragmatic Software Testing: Becoming an Effective and Efficient Test Professional | location = New York | publisher = Wiley | date = 2007 | pages = 240 | isbn = 978-0-470-12790-2] 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. Many testing methods regard all-pairs testing of a system or subsystem as a reasonable cost-benefit compromise between often computationally infeasible higher-order combinatorial testing methods, and less exhaustive methods which fail to exercise all possible pairs of parameters. Because no testing technique can find all bugs, all-pairs testing is typically used together with other
quality assurance techniques such asunit testing ,symbolic execution ,fuzz testing , andcode review .Notes
See also
*
Software testing External links
* [http://testcover.com/pub/background/stareast2008.ppt Pairwise Testing Comes of Age - Review including history, examples, issues, research]
* [http://www.testersdesk.com TestersDesk.com - Online tool platform has a Pairwise Test-case Generator]
* [http://www.pairwise.org/ Pairwise Testing: Combinatorial Test Case Generation]
* [http://www.developsense.com/testing/PairwiseTesting.html Pairwise testing]
* [http://www.mcdowella.demon.co.uk/allPairs.html All-pairs testing]
* [http://csrc.nist.gov/acts/ Pairwise and generalized t-way combinatorial testing]
Wikimedia Foundation. 2010.