This is an archived version of the documentation for SonarQube-7.3.
See the Latest Documentation for current functionality.

Seeing Tests

On test files, the Component viewer shows different data than for source files:

images/download/attachments/11641302/Selection_644.png

Coverage per tests

Similarly, the Show details option offers If "coverage per test" information is available, the test tab can show additional information and allow you to navigate from the test file to the source files that it covers:

images/download/attachments/11641302/Selection_646.png

The objective of this tab is to answer the following questions:

  • Which files are covered by a given unit test?

  • How many lines of code are covered by a given test?