Skip to end of metadata
Go to start of metadata
You are viewing documentation of TeamCity 6.5.x, which is not the most recent released version of TeamCity. Please refer to the listing to choose another version.
Search

Table of Contents

Code coverage is a number of metrics that measure how your code is covered by unit tests. TeamCity supports the following coverage engines:

  • Java: IntelliJ IDEA coverage engine, EMMA open-source toolkit.
  • .NET: NCover 1.x, 3.x, PartCover and dotCover.

To get the code coverage information displayed in TeamCity, you need to configure it in the dedicated section of a build runner settings page. The following build runners include code coverage support:

The code coverage results can be viewed on the Overview tab of the Build Results page; detailed report is displayed on the dedicated Code Coverage tab:

Moreover, the chart is available for code coverage on the Statistics tab of the build configuration.

For the details on configuring code coverage, please, refer to the dedicated pages: Configuring Java Code Coverage, Configuring .NET Code Coverage.



See also: