Published November 28, 2001 | Version v1
Journal article Open

ASM-Based Testing: Coverage Criteria and Automatic Test Sequence

  • 1. C.E.A.­ Università di Catania Piazza Universita, Catania, Italy
  • 2. Università di Catania, Dipartimento di Matematica e Informatica, Catania, Italy

Description

This paper tackles some aspects concerning the exploitation of Abstract State Machines (ASMs) for testing purposes. We define for ASM specifications a set of adequacy criteria measuring the coverage achieved by a test suite, and determining whether sufficient testing has been performed. We introduce a method to automatically generate from ASM specifications test sequences which accomplish a desired coverage. This method exploits the counter example generation of the model checker SMV. We use ASMs as test oracles to predict the expected outputs of units under test.

Files

jucs_article_27836.pdf

Files (194.1 kB)

Name Size Download all
md5:edf4764188201a5670970fa1ee492ca1
194.1 kB Preview Download