Functional testing in the focal environment

  • Authors:
  • Matthieu Carlier;Catherine Dubois

  • Affiliations:
  • CÉDRIC, ENSIIE, Évry Cedex, France;CÉDRIC, ENSIIE, Évry Cedex, France

  • Venue:
  • TAP'08 Proceedings of the 2nd international conference on Tests and proofs
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

This article presents the generation and test case execution under the framework Focal. In the programming language Focal, all properties of the program are written within the source code. These properties are considered, here, as the program specification. We are interested in testing the code against these properties. Testing a property is split in two stages. First, the property is cut out in several elementary properties. An elementary property is a tuple composed of some pre-conditions and a conclusion. Lastly, each elementary property is tested separately. The pre-conditions are used to generate and select the test cases randomly. The conclusion allows us to compute the verdict. All the testing process is done automatically.