Skip to main content
placeholder image

A revisit of three studies related to random testing

Journal Article


Download full-text (Open Access)

Abstract


  • © 2015 Science China Press and Springer-Verlag Berlin Heidelberg 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.

Authors


  •   Chen, Tsong Yueh (external author)
  •   Kuo, Diana (external author)
  •   Towey, Dave (external author)
  •   Zhi Quan (George) Zhou

Publication Date


  • 2015

Citation


  • Chen, T., Kuo, F., Towey, D. & Zhou, Z. (2015). A revisit of three studies related to random testing. Science China Information Sciences, 58 (5), 052104:1-052104:9.

Scopus Eid


  • 2-s2.0-84939939769

Ro Full-text Url


  • http://ro.uow.edu.au/cgi/viewcontent.cgi?article=5131&context=eispapers

Ro Metadata Url


  • http://ro.uow.edu.au/eispapers/4110

Has Global Citation Frequency


Start Page


  • 052104:1

End Page


  • 052104:9

Volume


  • 58

Issue


  • 5

Place Of Publication


  • China

Abstract


  • © 2015 Science China Press and Springer-Verlag Berlin Heidelberg 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.

Authors


  •   Chen, Tsong Yueh (external author)
  •   Kuo, Diana (external author)
  •   Towey, Dave (external author)
  •   Zhi Quan (George) Zhou

Publication Date


  • 2015

Citation


  • Chen, T., Kuo, F., Towey, D. & Zhou, Z. (2015). A revisit of three studies related to random testing. Science China Information Sciences, 58 (5), 052104:1-052104:9.

Scopus Eid


  • 2-s2.0-84939939769

Ro Full-text Url


  • http://ro.uow.edu.au/cgi/viewcontent.cgi?article=5131&context=eispapers

Ro Metadata Url


  • http://ro.uow.edu.au/eispapers/4110

Has Global Citation Frequency


Start Page


  • 052104:1

End Page


  • 052104:9

Volume


  • 58

Issue


  • 5

Place Of Publication


  • China