Orthogonal Array Testing
Orthogonal Array Testing is a black-box test design technique that uses orthogonal arrays, a concept from statistics, to choose a small set of test cases that covers pairs of input values evenly. It is useful when a feature has many parameters and testing every combination would be impractical.
Key components of orthogonal array testing include:
- Factors and Levels: Each input parameter is a factor, and each value it can take is a level, such as three browsers and two operating systems.
- Array Selection: A standard orthogonal array is chosen that fits the number of factors and levels.
- Balanced Coverage: Every pair of values across any two factors appears in the selected tests, and appears an equal number of times.
- Reduced Test Count: For example, four factors with three levels each give 81 full combinations, but an orthogonal array covers every pair in just nine tests.
Most defects are triggered by a single input or an interaction between two inputs, so orthogonal array testing finds a large share of them efficiently. It is closely related to pairwise testing, which uses a similar idea with more flexible arrays.


