On Measuring Combinatorial Coverage of Manually Created Test Cases for Industrial Software
Description
Combinatorial coverage has been proposed as a way to measure the quality of test cases by using the input interaction characteristics. This paper describes the results of empirically measuring combinatorial coverage of manually created test cases by experienced industrial engineers. We found that manual test cases achieve on average 78% 2-way combinatorial coverage, 57% 3-way coverage, 40% 4-way coverage, 20% 5-way combinatorial coverage and 13% for 6-way combinatorial coverage. These manual test cases can be augmented to achieve 100% combinatorial coverage for 2-way and 3-way interactions by adding eight and 66 missing tests on average, respectively. For 4-way interactions, full combinatorial coverage can achieved by adding 658 missing tests. For 5-way and 6-way interactions, full combinatorial coverage can be achieved by adding 5163 and 6170 missing tests on average, respectively. The results of this paper suggest that manual tests created by industrial engineers do no achieve high combinatorial coverage and can be improved by using combinatorial testing at the expense of the number of test cases to be executed.