After the test session is finished you need to collect the report.xml file, which contains the pass/fail results and other information about the test. Test results are downloaded from CAM and will be saved to a %REPORTS_DIR%.
You must also collect the coverage.xml file, which contains the coverage information. Coverage results are saved in the %MONITOR_DIR%\runtime_coverage folder by default, but they can also be downloaded using the CAM GUI. Coverage information will be processed in the next step (Publishing Test and Coverage Results to DTP).
By default, DTP displays coverage data for the latest build. It is important to use a consistent build as you process the coverage data. See the Jtest (or dotTEST) documentation for details about setting the build ID to define builds.
- You can modify the project name and build ID associated with the session by clicking in a field entering new values.
- Click Download Test Results to download the dynamic coverage collected by Coverage Agent during the testing session.
- If the report.xml file already exists, the operating system will append (number) to the file. Remove the parentheses to ensure that curl can properly upload the file.
Open a command prompt and run the following command to merge the dynamic coverage with the static coverage collected in Setting Up the Coverage Agent Manager:
A coverage.xml file is created.