• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

Computer Engineering & Science

Previous Articles     Next Articles

An improved adaptive random testing method
in high dimensional input domains
 

ZHAN Xuzheng   

  1. (School of Software and Internet of Thing  Engineering,Jiangxi University of Finance and Economics,Nanchang 330032,China)
  • Received:2018-01-17 Revised:2018-05-29 Online:2018-11-25 Published:2018-11-25

Abstract:

Adaptive random testing (ART) ensures that test cases are more evenly distributed in the input domain, and thus achieves significantly stronger failure detection capability than the basic random testing.  Among the existing ART methods, the fixedsizecandidateset ART (FSCSART) exhibits better failure detection capability and has extensive applications. However, its failure detection effectiveness deteriorates significantly with the increase of input domain dimensions. To solve this high dimension problem, two types of distances are taken into account while choosing a test case from the candidate set: one is the distance from each candidate point to the already executed test cases; the other is the distance from individual candidate point to the center point. The comprehensive consideration of distances can reduce the priority of the candidate points at the edge of the input domain and overcome the disadvantage of the FSCSART. Experimental results show that the improved algorithm achieves a stronger failure detection capability in high dimensional input domains.
 

Key words: software testing, adaptive random testing, test case, failure detection capability