Skip to main content
Article thumbnail
Location of Repository

Using a Genetic Algorithm to Control Randomized Unit Testing

By James H. Andrews, Felix C. H. Li and Tim Menzies

Abstract

Randomized testing has been shown to be an effective method for testing software units. However, the thoroughness of randomized unit testing varies widely according to the settings of certain parameters, such as the relative frequencies with which methods are called. In this paper, we describe a system which uses a genetic algorithm to find parameters for randomized unit testing that optimize test coverage. We compare our coverage results to previous work, and report on case studies and experiments on system options. In order to optimize the system, we used data mining techniques to analyze which genes were the most useful. We also report on the results of this analysis and optimization

Topics: Index Terms
Year: 2013
OAI identifier: oai:CiteSeerX.psu:10.1.1.352.9725
Provided by: CiteSeerX
Download PDF:
Sorry, we are unable to provide the full text but you may find it at the following location(s):
  • http://citeseerx.ist.psu.edu/v... (external link)
  • http://menzies.us/pdf/08nighth... (external link)
  • Suggested articles


    To submit an update or takedown request for this paper, please submit an Update/Correction/Removal Request.