An Empirical Comparison of Combinatorial and Random Testing
Laleh Ghandehari, Jacek Czerwonka, Yu Lei, Soheil Shafiee, Raghu N. Kacker, D. Richard Kuhn
Some conflicting results have been reported on the comparison between t-way combinatorial testing and random testing. In this paper, we report a new study that applies t-way and random testing to the Siemens suite. In particular, we investigate the stability of the two techniques. We measure both code coverage and fault detection effectiveness. Each program in the Siemens suite has a number of faulty versions. In addition, mutation faults are used to better evaluate fault detection effectiveness in terms of both number and diversity of faults. The experimental results show that in most cases, t-way testing performed as good as or better than random testing. There are few cases where random testing performed better, but with a very small margin. Overall, the differences between the two techniques are not as significant as one would have probably expected. We discuss the practical implications of the results. We believe that more studies are needed to better understand the comparison of the two techniques.
Proceedings of the Seventh IEEE International Conference on Software, Testing, Verification and Validation (ICST 2014)
March 31-April 4, 2014
Cleveland, OH, US
Third International Workshop on Combinatorial Testing
, Czerwonka, J.
, Lei, Y.
, Shafiee, S.
, Kacker, R.
and Kuhn, D.
An Empirical Comparison of Combinatorial and Random Testing, Proceedings of the Seventh IEEE International Conference on Software, Testing, Verification and Validation (ICST 2014), Cleveland, OH, US, [online], https://doi.org/10.1109/ICSTW.2014.8, https://tsapps.nist.gov/publication/get_pdf.cfm?pub_id=915439
(Accessed December 5, 2022)