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

Seeing Tests

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


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:


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?