2017 IEEE 25th International Requirements Engineering Conference Workshops (REW) (2017)
The coverage of requirements is a fundamental need<br> throughout the software life cycle. It gives project managers an<br> indication how well the software meets expected requirements. A<br> precondition for the process is to link requirements with project<br> artifacts, like test cases. There are various (semi-) automated<br> methods deriving traceable relations between requirements and<br> test scenarios aiming to counteract time consuming and errorprone manual approaches. However, even if traceability links<br> are correctly established coverage is calculated based on passed<br> test scenarios without taking into account the overall code base<br> written to realize the requirement in the first place.<br> In this paper we introduce the "Requirements-TestingCoverage" (ReTeCo) approach that automatically establishes<br> links between requirements and test cases through source code<br> lines which a) have been written in the context of an issue as<br> part of a linked requirement, b) have been committed into a<br> version control system, and c) produce code coverage results.<br> Since the approach takes into account source code lines it is able<br> to calculate coverage reports on a fine-grained contextual level<br> rather than on the result of high-level artifacts.<br> We show the feasibility of the approach and initial evaluation<br> results using the code base and test scenarios of large open source<br> projects.
Information and Communication Technology