NASA Logo

NTRS

NTRS - NASA Technical Reports Server

Back to Results
Coverage Metrics for Requirements-Based Testing: Evaluation of EffectivenessIn black-box testing, the tester creates a set of tests to exercise a system under test without regard to the internal structure of the system. Generally, no objective metric is used to measure the adequacy of black-box tests. In recent work, we have proposed three requirements coverage metrics, allowing testers to objectively measure the adequacy of a black-box test suite with respect to a set of requirements formalized as Linear Temporal Logic (LTL) properties. In this report, we evaluate the effectiveness of these coverage metrics with respect to fault finding. Specifically, we conduct an empirical study to investigate two questions: (1) do test suites satisfying a requirements coverage metric provide better fault finding than randomly generated test suites of approximately the same size?, and (2) do test suites satisfying a more rigorous requirements coverage metric provide better fault finding than test suites satisfying a less rigorous requirements coverage metric? Our results indicate (1) only one coverage metric proposed -- Unique First Cause (UFC) coverage -- is sufficiently rigorous to ensure test suites satisfying the metric outperform randomly generated test suites of similar size and (2) that test suites satisfying more rigorous coverage metrics provide better fault finding than test suites satisfying less rigorous coverage metrics.
Document ID
20100018531
Acquisition Source
Langley Research Center
Document Type
Conference Paper
Authors
Staats, Matt
(Minnesota Univ. Minneapolis, MN, United States)
Whalen, Michael W.
(Minnesota Univ. Minneapolis, MN, United States)
Heindahl, Mats P. E.
(Minnesota Univ. Minneapolis, MN, United States)
Rajan, Ajitha
(Laboratoire d'Informatique de Grenoble France)
Date Acquired
August 24, 2013
Publication Date
April 1, 2010
Publication Information
Publication: Proceedings of the Second NASA Formal Methods Symposium
Subject Category
Mathematical And Computer Sciences (General)
Funding Number(s)
CONTRACT_GRANT: NNG05CB16C
CONTRACT_GRANT: NNA06CB21A
Distribution Limits
Public
Copyright
Public Use Permitted.
No Preview Available