TY - GEN
T1 - Formal analysis of the effectiveness and predictability of random testing
AU - Arcuri, Andrea
AU - Iqbal, Muhammad Zohaib
AU - Briand, Lionel
PY - 2010
Y1 - 2010
N2 - There has been a lot of work to shed light on whether random testing is actually a useful testing technique. Despite its simplicity, several successful real-world applications appear in the literature. Although it is not going to solve all possible testing problems, random testing is an essential tool in the hands of software testers. In this paper, we address general questions about random testing, such as how long random testing needs on average to achieve testing targets (e.g., coverage), how does it scale and how likely is it to yield similar results if we re-run random testing on the same testing problem. Due to its simplicity that makes the mathematical analysis of random testing tractable, we provide precise and rigorous answers to these questions. Our formal results can be applied to most types of software and testing criteria. Simulations are carried out to provide further support to our formal results. The obtained results are then used to assess the validity of empirical analyses reported in the literature. Results show that random testing is more effective and predictable than previously thought.
AB - There has been a lot of work to shed light on whether random testing is actually a useful testing technique. Despite its simplicity, several successful real-world applications appear in the literature. Although it is not going to solve all possible testing problems, random testing is an essential tool in the hands of software testers. In this paper, we address general questions about random testing, such as how long random testing needs on average to achieve testing targets (e.g., coverage), how does it scale and how likely is it to yield similar results if we re-run random testing on the same testing problem. Due to its simplicity that makes the mathematical analysis of random testing tractable, we provide precise and rigorous answers to these questions. Our formal results can be applied to most types of software and testing criteria. Simulations are carried out to provide further support to our formal results. The obtained results are then used to assess the validity of empirical analyses reported in the literature. Results show that random testing is more effective and predictable than previously thought.
KW - Coupon collector
KW - Predictability
KW - Random testing
KW - Schur function
KW - Theory
UR - http://www.scopus.com/inward/record.url?scp=77955913454&partnerID=8YFLogxK
U2 - 10.1145/1831708.1831736
DO - 10.1145/1831708.1831736
M3 - Conference contribution
AN - SCOPUS:77955913454
SN - 9781605588230
T3 - ISSTA'10 - Proceedings of the 2010 International Symposium on Software Testing and Analysis
SP - 219
EP - 229
BT - ISSTA'10 - Proceedings of the 2010 International Symposium on Software Testing and Analysis
T2 - 19th International Symposium on Software Testing and Analysis, ISSTA 2010
Y2 - 12 July 2010 through 16 July 2010
ER -