TeamCity Plugin for IntelliJ Platform Help
 
2021.2

Working with Code Coverage

Last modified: 04 April 2024

The TeamCity Plugin for IntelliJ IDEA provides access to the server-side code coverage information and visualizes the portions of the code covered by unit tests. Prior to using this feature, make sure that recording code coverage data is enabled in your run configuration. By default, code coverage marking is visible in the gutter area. The covered lines are marked in green img, partially covered - in yellow img, and uncovered lines are marked in red img.

When showing code coverage is enabled, the Project view of the IDE shows the percentage of classes and lines covered by unit tests:

img

This section describes how to: