2007
DOI: 10.1002/smr.362
|View full text |Cite
|
Sign up to set email alerts
|

Towards a deeper understanding of test coverage

Abstract: Test coverage is traditionally considered as how much of the code is covered by the test suite in whole. However, test suites typically contain different types of tests with different roles, such as unit tests, integration tests and functional tests. As traditional measures of test coverage make no distinction between the different types of tests, the overall view of test coverage is limited to what is covered by the tests in general. This paper proposes a quantitative way to measure the test coverage of the d… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1

Citation Types

0
9
0

Year Published

2010
2010
2024
2024

Publication Types

Select...
3
2
2

Relationship

0
7

Authors

Journals

citations
Cited by 13 publications
(9 citation statements)
references
References 16 publications
0
9
0
Order By: Relevance
“…They use the median number of executed methods per test as a good indicator if that test suite is well suited for documentation purposes or not. Kanstrén [25] associates testing levels with call trace information, to reveal the scope of test cases, identify shortcomings in the test suite or remove redundant test cases. In the following sections, we discuss the literature regarding the definition of methods for recovering traceability links between different types of artefacts.…”
Section: Related Workmentioning
confidence: 99%
“…They use the median number of executed methods per test as a good indicator if that test suite is well suited for documentation purposes or not. Kanstrén [25] associates testing levels with call trace information, to reveal the scope of test cases, identify shortcomings in the test suite or remove redundant test cases. In the following sections, we discuss the literature regarding the definition of methods for recovering traceability links between different types of artefacts.…”
Section: Related Workmentioning
confidence: 99%
“…As a consequence of these different testing strategies, the Test Coverage Evolution View cannot be used to compare across projects. Difference in testing strategy and the consequences on test coverage have also been described by Kanstrén, who proposes to measure test coverage separately for each level of testing (Kanstrén 2008).…”
Section: Rq4 Is There a Relation Between Test-writing Activity And Tementioning
confidence: 99%
“…In this work, we concentrate on unit tests, in which case the traceability information is mostly encoded in the source code of the unit test cases, and usually no external documentation is available for this purpose. Traceability recovery for unit test may seem simple at first (Beck 2002;Demeyer et al 2002;Gaelli et al 2007); however, in reality, it is not (Gaelli et al 2005;Kanstrén 2008). Bruntink and Van Deursen (2004) illustrated the need and complexity of the test-to-code traceability.…”
Section: Traceability Recovery In Unit Testsmentioning
confidence: 99%
“…For example, in the coding and testing phases, finding low-level code-related defects early is essential using appropriate unit tests, and in evolution, up to date unit tests are necessary for efficient regression testing. Several approaches have been proposed for this task (e.g., Qusef et al 2014;Gaelli et al 2005;Kanstrén 2008;Bruntink and Van Deursen 2004;Bouillon et al 2007). However, practice shows that the fully automatic recovery of traceability links is difficult, and the different approaches might produce different results (Rompaey and Demeyer 2009;Qusef et al 2010).…”
mentioning
confidence: 99%