Automated testing for Java programs using JPF-based test case generation

  • Authors:
  • Supasit Monpratarnchai;Shoichiro Fujiwara;Asako Katayama;Tadahiro Uehara

  • Affiliations:
  • Fujitsu Laboratories LTD., Kanagawa, Japan;Fujitsu Laboratories LTD., Kanagawa, Japan;Fujitsu Laboratories LTD., Kanagawa, Japan;Fujitsu Laboratories LTD., Kanagawa, Japan

  • Venue:
  • ACM SIGSOFT Software Engineering Notes
  • Year:
  • 2014

Quantified Score

Hi-index 0.00

Visualization

Abstract

Program testing requires a series of tasks such as preparing drivers and stubs, creating test cases, and executing unit tests. To reduce manual effort of performing such tasks for testing Java programs, we developed a tool that fully integrates and automates all of these processes, by using JPF with extensions as a symbolic execution engine for automatically generating unit test cases. In this paper, we present this tool and its application to real projects to evaluate its efficacy. The evaluation results demonstrate that the tool performs well in terms of the test time reduction compared with manual test as it eliminates the total amount of manual effort, while largely preserving a high coverage of greater than 90 % as our expected borderline.