TY - GEN
T1 - A divergence-oriented approach to adaptive random testing of Java programs
AU - Lin, Yu
AU - Tang, Xucheng
AU - Chen, Yuting
AU - Zhao, Jianjun
PY - 2009
Y1 - 2009
N2 - Adaptive Random Testing (ART) is a testing technique which is based on an observation that a test input usually has the same potential as its neighbors in detection of a specific program defect. ART helps to improve the efficiency of random testing in that test inputs are selected evenly across the input spaces. However, the application of ART to object-oriented programs (e.g., C++ and Java) still faces a strong challenge in that the input spaces of object-oriented programs are usually high dimensional, and therefore an even distribution of test inputs in a space as such is difficult to achieve. In this paper, we propose a divergence-oriented approach to adaptive random testing of Java programs to address this challenge. The essential idea of this approach is to prepare for the tested program a pool of test inputs each of which is of significant difference from the others, and then to use the ART technique to select test inputs from the pool for the tested program. We also develop a tool called ARTGen to support this testing approach, and conduct experiment to test several popular open-source Java packages to assess the effectiveness of the approach. The experimental result shows that our approach can generate test cases with high quality.
AB - Adaptive Random Testing (ART) is a testing technique which is based on an observation that a test input usually has the same potential as its neighbors in detection of a specific program defect. ART helps to improve the efficiency of random testing in that test inputs are selected evenly across the input spaces. However, the application of ART to object-oriented programs (e.g., C++ and Java) still faces a strong challenge in that the input spaces of object-oriented programs are usually high dimensional, and therefore an even distribution of test inputs in a space as such is difficult to achieve. In this paper, we propose a divergence-oriented approach to adaptive random testing of Java programs to address this challenge. The essential idea of this approach is to prepare for the tested program a pool of test inputs each of which is of significant difference from the others, and then to use the ART technique to select test inputs from the pool for the tested program. We also develop a tool called ARTGen to support this testing approach, and conduct experiment to test several popular open-source Java packages to assess the effectiveness of the approach. The experimental result shows that our approach can generate test cases with high quality.
UR - http://www.scopus.com/inward/record.url?scp=77952224141&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=77952224141&partnerID=8YFLogxK
U2 - 10.1109/ASE.2009.13
DO - 10.1109/ASE.2009.13
M3 - Conference contribution
AN - SCOPUS:77952224141
SN - 9780769538914
T3 - ASE2009 - 24th IEEE/ACM International Conference on Automated Software Engineering
SP - 221
EP - 232
BT - ASE2009 - 24th IEEE/ACM International Conference on Automated Software Engineering
T2 - 24th IEEE/ACM International Conference on Automated Software Engineering, ASE2009
Y2 - 16 November 2009 through 20 November 2009
ER -