Automated Metamorphic Testing

  • Authors:
  • Arnaud Gotlieb;Bernard Botella

  • Affiliations:
  • -;-

  • Venue:
  • COMPSAC '03 Proceedings of the 27th Annual International Conference on Computer Software and Applications
  • Year:
  • 2003

Quantified Score

Hi-index 0.00

Visualization

Abstract

Usual techniques for automatic test data generation arebased on the assumption that a complete oracle will beavailable during the testing process. However, there areprograms for which this assumption is unreasonable. Recently,Chen et al. [3, 4] proposed to overcome this obstacleby using known relations over the input data and theirunknown expected outputs to seek a subclass of faults insidethe program. In this paper, we introduce an automatictesting framework able to check these so-called metamorphicrelations. The framework makes use of ConstraintLogic Programming techniques to find test data that violatea given metamorphic-relation. Circumstances where itcan also prove that the program satisfies this relation arepresented. The first experimental results we got with a prototypetool build on the top of the test data generator INKA,show that this methodogy can be completely automated.