University of Minnesota
Software Engineering Center

You are here

Are We There Yet? Determining the Adequacy of Formalized Requirements and Test Suites

Date of Publication: 
April 2015
Associated Research Groups: 
Publication Files: 
Structural coverage metrics have traditionally categorized code as either covered or uncovered. Recent work presents a stronger notion of coverage, checked coverage, which counts only statements whose execution contributes to an outcome checked by an oracle. While this notion of coverage addresses the adequacy of the oracle, for Model-Based Development of safety critical systems, it is still not enough; we are also interested in how much of the oracle is covered, and whether the values of program variables are masked when the oracle is evaluated. Such information can help system engineers identify missing requirements as well as missing test cases. In this work, we combine results from checked coverage with results from requirements coverage to help provide insight to engineers as to whether the requirements or the test suite need to be improved. We implement a dynamic backward slicing technique and evaluate it on several systems developed in Simulink. The results of our preliminary study show that even for systems with comprehensive test suites and good sets of requirements, our approach can identify cases where more tests or more requirements are needed to improve coverage numbers.
7th NASA Formal Methods Symposium, Pasadena, California, April 2015.
@incollection{murugesan2015we, title={Are We There Yet? Determining the Adequacy of Formalized Requirements and Test Suites}, author={Murugesan, Anitha and Whalen, Michael W and Rungta, Neha and Tkachuk, Oksana and Person, Suzette and Heimdahl, Mats PE and You, Dongjiang}, booktitle={NASA Formal Methods}, pages={279--294}, year={2015}, publisher={Springer} }