Working with result locations
By default the Code Coverage Results view contains the local default location so that you can view your previously generated code coverage results. You can add new result locations to access results that were generated elsewhere.
About this task
Adding a result location
Procedure
Removing a result location
Procedure
To remove a result location, right-click on a result location, and select the
Remove Result Location menu action. Alternatively, select the remote location
to remove, and press Delete.
Refreshing a result location
About this task
The following locations
are built-in result locations:
- Workspace Results
- Java Workspace Results (Deprecated)
Procedure
To ensure that the list of results is in sync with a result location, right-click on a
result location, and select the Refresh menu action. Alternatively, select
the result location to refresh, and press the F5 key.
Notes:
- The Refresh button in the view toolbar
can be used to refresh all the locations simultaneously.
- Remote locations and locations that have many results might require a longer amount of time to refresh. During this time, the UI might appear unchanged. Avoid pressing Refresh multiple times as this increases the time to update the list.
- If the connection is a CCS one and is secured with an untrusted certificate, for example a self-signed certificate, you are prompted to accept the certificate before the connection can be added to the view. After that, you will only be prompted to accept the certificate again if you clear the CCS certificate keystore.
Clearing Code Coverage Service trusted certificates
About this task
After you accept an untrusted certificate when adding or refreshing a CCS location, it is added to the list of trusted certificates, and you are no longer prompted to accept it. You can clear the list if you want.
Procedure
- In the Code Coverage Results view, select .
- In the Preferences window, select Code Coverage Service Certificate Management.
- Click Clear stored certificates.
- When prompted to confirm, click Yes. After you clear the certificates, you will be once again prompted to accept untrusted certificates when adding or refreshing a Code Coverage Service location that is secured with an untrusted certificate, for example, a self-signed certificate.