Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How to configure code coverage?

code configure coverage
0
Posted

How to configure code coverage?

0

You can add code coverage statistics to build execution results. The code coverage engine used by TeamCity is EMMA. This functionality is now available only for Ant build runner. To switch on code coverage for a certain build configuration, go to the Administration tab, and edit necessary build configuration. On the Build configuration page, select the Enable code coverage check box. If you enabled code coverage for a build configuration, the results will be shown on the results page of this build (you can view it by click the link of the correponding build on the Projects page). In your build script, you can detect that code coverage is enabled when system property report.html.out.file is set.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123