The ART of Divide and Conquer: An Innovative Approach to Improving the Efficiency of Adaptive Random Testing

Cliff Chow, Tsong Yueh Chen, T.H. Tse
2013 2013 13th International Conference on Quality Software  
Test case selection is a prime process in the engineering of test harnesses. In particular, test case diversity is an important concept. In order to achieve an even spread of test cases across the input domain, Adaptive Random Testing (ART) was proposed such that the history of previously executed test cases are taken into consideration when selecting the next test case. This was achieved through various means such as best candidate selection, exclusion, , and diversity metrics. Empirical
more » ... s showed that ART algorithms make good use of the concept of even spreading and achieve 40 to 50% improvement in test effectiveness over random testing in revealing the first failure, which is close to the theoretical limit. However, the computational complexity of ART algorithms may be quadratic or higher, and hence efficiency is an issue when a large number of previously executed test cases are involved. This paper proposes an innovative divide-and-conquer approach to improve the efficiency of ART algorithms while maintaining their performance in effectiveness. Simulation studies have been conducted to gauge its efficiency against two most commonly used ART algorithms, namely, fixed size candidate set and restricted random testing. Initial experimental results show that the divideand-conquer technique can provide much better efficiency while maintaining similar, or even better, effectiveness. *
doi:10.1109/qsic.2013.19 dblp:conf/qsic/ChowCT13 fatcat:g7dzyy3vfjeepb6xiijljpt3wq