IBM Support

How to generate Code Coverage using Test conductor in Rational Rhapsody

Question & Answer


Question

How do you perform Code Coverage using Test Conductor in IBM Rational Rhapsody?

Cause

You would like to understand the code statements covered while testing.

Answer

You can generate a Code Coverage report in Rational Rhapsody Test conductor by following the steps below:

  1. Create a Test Architecture for a class.
  2. Add a Sequence Diagram Test case under Test Context for the System under test (SUT)


  3. In the Test package, go to Test Configuration features.
  4. Under the Tags tab, check these Code Coverage options.


  5. Expand TestCases > SD_test_case > CodeCoverageResults in the Rhapsody Browser.



  6. Double click on the link to see the coverage results.

[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.6.1.3;7.6.1.2;8.0","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

swg21622931