From scenarios to test implementations via Promela

  • Authors:
  • Andreas Ulrich;El-Hachemi Alikacem;Hesham H. Hallal;Sergiy Boroday

  • Affiliations:
  • Siemens AG, Corporate Technology, Munich, Germany;CRIM, Montreal, Canada;Lebanese International University, Beirut, Lebanon;CRIM, Montreal, Canada

  • Venue:
  • ICTSS'10 Proceedings of the 22nd IFIP WG 6.1 international conference on Testing software and systems
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

We report on a tool for generating executable concurrent tests from scenarios specified as message sequence charts. The proposed approach features three steps: 1) Deriving a MSC test implementation from a MSC scenario, 2) Mapping the test implementation into a Promela model, 3) Generating executable test scripts in Java. The generation of an intermediate Promela model allows for model-checking to inspect the test implementation for properties like soundness, fault detection power as well as for consistency checking between different test scenarios. Moreover decoupling the executable test scripts from the scenario specification makes it possible to use different backend code generators to support other scripting languages when needed.