Generating Java unit tests with AI planning

  • Authors:
  • Eddie Dingels;Timothy Fraser;Alexander Quinn

  • Affiliations:
  • University of Maryland -- College Park, College Park, Maryland;University of Maryland -- College Park, College Park, Maryland;University of Maryland -- College Park, College Park, Maryland

  • Venue:
  • Proceedings of the 1st ACM international workshop on Empirical assessment of software engineering languages and technologies: held in conjunction with the 22nd IEEE/ACM International Conference on Automated Software Engineering (ASE) 2007
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

Although several efforts have applied search-based approaches to the generation of unit tests, none have demonstrated that these approaches scale beyond small programs. Our experiment compares the ability of three general-purpose AI planners to generate unit tests for Java classes with varying sizes and semantics. Although the GraphPlan planner handled most of our test classes, none of our planners could handle them all. We suggest a number of alternate search-based approaches and conclude that further experiments are needed to evaluate them.