Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Generating the static coverage file.
    The static coverage file (static_coverage.xml) is generated by Jtest or dotTEST . It is an XML file that in the .xml or .data format and contains metadata about user classes, methods, and lines.
  2. Attaching the Coverage Agent coverage agent to the application under test (AUT).
    The Coverage Agent coverage agent ships with Jtest and dotTEST, and allows you to monitor the code being executed when the AUT is running.
  3. Connecting Coverage Agent Manager (CAM) to the Coverage Agent.
    Create the connection before you start interacting with the AUT.
  4. Performing test sessions with CAM.
    CAM allows you to mark the beginning and end of test and test sessions while collecting coverage on the running AUT.
  5. Configuring the Parasoft product that you use for application testing: 
    • SOAtest must be configured to connect to the coverage agent and collect runtime coverage, merge it with static coverage, and upload the data to DTP.
    • Coverage Agent Manager (CAM) must be configured to connect with to the coverage agent.
  6. Performing tests on the AUT with your Parasoft product:
    • SOAtest will collect runtime coverage, merge it with static coverage, and upload the merger data to DTP.
    • CAM will collect runtime coverage and test results, which must be manually downloaded and sent to DTP (see steps 5-7).
  7. (CAM only) Downloading Downloading test results and the dynamic (runtime) coverage.
    The data can be downloaded when a test session is finished and stopped in CAM.The dynamic coverage data is saved in the runtime_coverage_[timestamp].data file. The test results are stored in the report.xml file.
  8. (CAM only) Uploading the test results to DTP.
    Data Collector Upload Form allows you to upload the report.xml file to DTP.Test results are uploaded via the DTP interface.
  9. (CAM only) Merging the dynamic and static coverage information data and send sending it to DTP.
    Jtest or dotTEST merges the static coverage data (static_coverage.xml) and dynamic coverage data (runtime_coverage_[timestamp].data) into a coverage.xml file, and sends the coverage.xml file to DTP. If the coverage images, session tags, and build IDs associated with the coverage.xml file and report.xml file match, DTP can properly aggregate, associate, and display the data in a range of reporting mechanisms.

...

  1. Static and dynamic coverage is merged and uploaded to DTP by Jtest or dotTEST.
  2. Reviewing the application coverage on DTP.
    Application coverage is displayed in the DTP's Coverage Explorer.

Step 1: Generate the Static Coverage File

...