Skip to main navigation Skip to search Skip to main content

Using coverage information to guide test case selection in Adaptive Random Testing

Research output: Chapter in Book/Conference proceedingConference contributionpeer-review

Abstract

Random Testing (RT) is a fundamental software testing technique. Adaptive Random Testing (ART) improves the fault-detection capability of RT by employing the location information of previously executed test cases. Compared with RT, test cases generated in ART are more evenly spread across the input domain. ART has conventionally been applied to programs that have only numerical input types, because the distance between numerical inputs is readily measurable. The vast majority of computer programs, however, involve non-numerical inputs. To apply ART to these programs requires the development of effective new distance measures. Different from those measures that focus on the concrete values of program inputs, in this paper we propose a method to measure the distance using coverage information. The proposed method enables ART to be applied to all kinds of programs regardless of their input types. Empirical studies are further conducted for the branch coverage Manhattan distance measure using the replace and space programs. Experimental results show that, compared with RT, the proposed method significantly reduces the number of test cases required to detect the first failure. This method can be directly applied to prioritize regression test cases, and can also be incorporated into code-based and model-based test case generation tools.

Original languageEnglish
Title of host publicationProceedings - 34th Annual IEEE International Computer Software and Applications Conference Workshops, COMPSACW 2010
Pages208-213
Number of pages6
DOIs
Publication statusPublished - 2010
Externally publishedYes
Event34th Annual IEEE International Computer Software and Applications Conference Workshops, COMPSACW 2010 - Seoul, Korea, Republic of
Duration: 19 Jul 201023 Jul 2010

Publication series

NameProceedings - International Computer Software and Applications Conference
ISSN (Print)0730-3157

Conference

Conference34th Annual IEEE International Computer Software and Applications Conference Workshops, COMPSACW 2010
Country/TerritoryKorea, Republic of
CitySeoul
Period19/07/1023/07/10

Free Keywords

  • Adaptive random sequence
  • Adaptive Random Testing
  • Distance measure
  • Software testing
  • Test case prioritization

ASJC Scopus subject areas

  • Software
  • Computer Science Applications

Fingerprint

Dive into the research topics of 'Using coverage information to guide test case selection in Adaptive Random Testing'. Together they form a unique fingerprint.

Cite this