An approach to testing conceptual schemas

  • Authors:
  • Albert Tort;Antoni Olivé

  • Affiliations:
  • Universitat Politècnica de Catalunya (UPC), Campus Nord, Edif. Omega, Jordi Girona 1-3, 08034 Barcelona (Catalonia), Spain;Universitat Politècnica de Catalunya (UPC), Campus Nord, Edif. Omega, Jordi Girona 1-3, 08034 Barcelona (Catalonia), Spain

  • Venue:
  • Data & Knowledge Engineering
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

Conceptual schemas of information systems can be tested. The testing of conceptual schemas may be an important and practical means for their validation. We present a list of five kinds of tests that can be applied to conceptual schemas. Two of them require schemas comprising both the structural and the behavioral parts, but we show that it is possible and useful to test incomplete schema fragments, even if they consist of only a few entity and relationship types, integrity constraints and derivation rules. We present CSTL, a language for writing automated tests of executable schemas written in UML/OCL. CSTL includes language primitives for each of the above kinds of tests. CSTL follows the style of the modern xUnit testing frameworks. We describe a prototype implementation of a test processor, which includes a test manager and a test interpreter that coordinates the execution of the tests. Tests written in CSTL can be executed as many times as needed.