Skip to main content

Research Repository

Advanced Search

A revisit of three studies related to random testing

Chen, Tsong Yueh; Kuo, Fei-Ching; Towey, Dave; Zhou, Zhi Quan

Authors

Tsong Yueh Chen

Fei-Ching Kuo

Dave Towey Dave.Towey@nottingham.edu.cn

Zhi Quan Zhou



Abstract

Software testing is an approach that ensures the quality of software through execution, with a goal being to reveal failures and other problems as quickly as possible. Test case selection is a fundamental issue in software testing, and has generated a large body of research, especially with regards to the effectiveness of random testing (RT), where test cases are randomly selected from the software’s input domain. In this paper, we revisit three of our previous studies. The first study investigated a sufficient condition for partition testing (PT) to outperform RT, and was motivated by various controversial and conflicting results suggesting that sometimes PT performed better than RT, and sometimes the opposite. The second study aimed at enhancing RT itself, and was motivated by the fact that RT continues to be a fundamental and popular testing technique. This second study enhanced RT fault detection effectiveness by making use of the common observation that failure-causing inputs tend to cluster together, and resulted in a new family of RT techniques: adaptive random testing (ART), which is random testing with an even spread of test cases across the input domain. Following the successful use of failure-causing region contiguity insights to develop ART, we conducted a third study on how to make use of other characteristics of failure-causing inputs to develop more effective test case selection strategies. This third study revealed how best to approach testing strategies when certain characteristics of the failure-causing inputs are known, and produced some interesting and important results. In revisiting these three previous studies, we explore their unexpected commonalities, and identify diversity as a key concept underlying their effectiveness. This observation further prompted us to examine whether or not such a concept plays a role in other areas of software testing, and our conclusion is that, yes, diversity appears to be one of the most important concepts in the field of software testing.

Journal Article Type Article
Publication Date May 31, 2015
Journal Science China Information Sciences
Print ISSN 1674-733X
Electronic ISSN 1869-1919
Publisher Springer Verlag
Peer Reviewed Peer Reviewed
Volume 58
Issue 5
APA6 Citation Chen, T. Y., Kuo, F., Towey, D., & Zhou, Z. Q. (2015). A revisit of three studies related to random testing. SCIENCE CHINA Information Sciences, 58(5), https://doi.org/10.1007/s11432-015-5314-x
DOI https://doi.org/10.1007/s11432-015-5314-x
Keywords Adaptive random testing; Diversity; Metamorphic testing; Proportional sampling strategy; Random testing; Software testing
Publisher URL https://doi.org/10.1007/s11432-015-5314-x
Copyright Statement Copyright information regarding this work can be found at the following address: http://eprints.nottingh.../end_user_agreement.pdf
Additional Information The final publication is available at link.springer.com via http://dx.doi.org/10.1007/s11432-015-5314-x

Files

ChenKuoToweyZhou-ScienceChina-InfSci.Accepted.Lulu.pdf (382 Kb)
PDF

Copyright Statement
Copyright information regarding this work can be found at the following address: http://eprints.nottingham.ac.uk/end_user_agreement.pdf



Downloadable Citations

;