TestEra: A Novel Framework for Automated Testing of Java Programs

  • Authors:
  • Darko Marinov;Sarfraz Khurshid

  • Affiliations:
  • -;-

  • Venue:
  • Proceedings of the 16th IEEE international conference on Automated software engineering
  • Year:
  • 2001

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present TestEra, a novel framework for automatedtesting of Java programs. TestEra automatically generatesall non-isomorphic test cases, within a given input size, andevaluates correctness criteria. As an enabling technology,TestEra uses Alloy, a first-order relational language, andthe Alloy Analyzer. Checking a program with TestEra involvesmodeling the correctness criteria for the program inAlloy and specifying abstraction and concretization translationsbetween instances of Alloy models and Java datastructures. TestEra produces concrete Java inputs as counterexamplesto violated correctness criteria. This paper discussesTestEra's analyses of several case studies: methodsthat manipulate singly linked lists and red-black trees, anaming architecture, and a part of the Alloy Analyzer.