Extending Test Templates with Inheritance

  • Authors:
  • Leesa Murray;David Carrington;Ian MacColl;Paul Strooper

  • Affiliations:
  • -;-;-;-

  • Venue:
  • ASWEC '97 Proceedings of the Australian Software Engineering Conference
  • Year:
  • 1997

Quantified Score

Hi-index 0.00

Visualization

Abstract

We are extending a framework for specification-based testing, the Test Template Framework, to include object-oriented features such as those provided in Object-Z. This paper reports on our work extending the Framework to include inheritance. In testing a subclass, the testing information for the parent class is inherited and thus reused. We have identified conditions under which testing information can be inherited without change, when it is inherited with modifications and when it must be derived from scratch. We illustrate the technique with an example based on the Eiffel Queue classes.