Towards a deeper understanding of test coverage

Teemu Kanstrén

Research output: Contribution to journalArticleScientificpeer-review

15 Citations (Scopus)

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 different parts of the software at different testing levels. It is also shown how this information can be used in software maintenance and development to further evolve the test suite and the system under test. The technique is applied to an open‐source project to show its application in practice.
Original languageEnglish
Pages (from-to)59-76
JournalJournal of Software Maintenance and Evolution
Volume20
Issue number1
DOIs
Publication statusPublished - 2008
MoE publication typeA1 Journal article-refereed

Keywords

  • test granularity
  • level of testing
  • test optimization
  • test coverage

Fingerprint

Dive into the research topics of 'Towards a deeper understanding of test coverage'. Together they form a unique fingerprint.

Cite this