3.27.4 Troubleshooting code coverage

When using code coverage, please bear the following in mind:

The AUT does not start when Code Coverage is enabled
If the AUT starts normally without Code Coverage but does not when Code Coverage is activated, ensure that you are not using the embedded AUT Agent .

The Test Result Summary View displays the monitoring agent as JaCoCo, but the coverage value is 0
If you can open the HTML report for the Code Coverage, but it shows "NaN", then this could mean that the class files for the analysis were not found. Check the path to the Installation Directory in the AUT configuration. It could also be the case that other byte code manipulations were running at the same time as JaCoCo.



Copyright BREDEX GmbH 2014. Made available under the Eclipse Public License v1.0.