Skip to main navigation Skip to search Skip to main content

Requirements coverage as an adequacy measure for conformance testing

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Conformance testing in model-based development refers to the testing activity that verifies whether the code generated (manually or automatically) from the model is behaviorally equivalent to the model. Presently the adequacy of conformance testing is inferred by measuring structural coverage achieved over the model. We hypothesize that adequacy metrics for conformance testing should consider structural coverage over the requirements either in place of or in addition to structural coverage over the model. Measuring structural coverage over the requirements gives a notion of how well the conformance tests exercise the required behavior of the system. We conducted an experiment to investigate the hypothesis stating structural coverage over formal requirements is more effective than structural coverage over the model as an adequacy measure for conformance testing. We found that the hypothesis was rejected at 5% statistical significance on three of the four case examples in our experiment. Nevertheless, we found that the tests providing requirements coverage found several faults that remained undetected by tests providing model coverage. We thus formed a second hypothesis stating that complementing model coverage with requirements coverage will prove more effective as an adequacy measure than solely using model coverage for conformance testing. In our experiment, we found test suites providing both requirements coverage and model coverage to be more effective at finding faults than test suites providing model coverage alone, at 5% statistical significance. Based on our results, we believe existing adequacy measures for conformance testing that only consider model coverage can be strengthened by combining them with rigorous requirements coverage metrics.

Original languageEnglish (US)
Title of host publicationFormal Methods and Software Engineering - 10th International Conference on Formal Engineering Methods, ICFEM 2008, Proceedings
PublisherSpringer Verlag
Pages86-104
Number of pages19
ISBN (Print)354088193X, 9783540881933
DOIs
StatePublished - 2008
Event10th International Conference on Formal Engineering Methods, ICFEM 2008 - Kitayushu-City, Japan
Duration: Oct 27 2008Oct 31 2008

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume5256 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Other

Other10th International Conference on Formal Engineering Methods, ICFEM 2008
Country/TerritoryJapan
CityKitayushu-City
Period10/27/0810/31/08

Fingerprint

Dive into the research topics of 'Requirements coverage as an adequacy measure for conformance testing'. Together they form a unique fingerprint.

Cite this