Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Code Coverage Information in Test Results

 Hello,
For Software testing where we have several SW components, we also get Code Coverage and Source Code Revision Information that is tested per SW component level.
A SW Component contains several test cases but only one Code Coverage Information. Where can we store this information in RQM. Currently, we are evaluating the tool and plan to use Child Test Plans (one for each SW component) without using Test Suites. 
For each SW Release, the SW components are tested, the test results can be uploaded to individual test cases but the Code Coverage and tested Sources is common across the SW component and shall be stored only once.
Please let me know how to do this.
Thanks in advance.

0 votes

Comments
 The current evaluation approach used is:
1. Project Area - SW Component Tests
2. Master Test Plan - One for each SW Layer/Partition (Around 10)
3. Child Test Plans - One for each SW Component (Around 700)
4. Test Cases - All test cases related to a SW Component linked to Child Test Plan.
No Test Suite Concept used so far in our evaluation



3 answers

Permanent link

Kalyan,

You did not indicate which version of the CLM tools you are using, or whether you are using RQM with Rational Team Concert (aka RTC aka Change and Configuration Management (CCM)).  However, if you are using version 6.0.6 and are using RTC with RQM then consider the following:

https://jazz.net/help-dev/clm/index.jsp?topic=%2Fcom.ibm.rational.test.qm.doc%2Ftopics%2Ft_linking_rtc_files_rqm.html

This new feature in RQM 6.0.6 allows you to link files managed in RTC (such as Code Coverage Report Files) with Test Case Results, Test Suite Results, (among other RQM test artifacts, though Test Plans are not included).

The only inconvenience is that (today) you can only create the links using the RTC Eclipse Client, but once created you can view the links in the RTC and RQM browsers.

1 vote


Permanent link

 Or is it possible to define custom fields in Test Result Template? There should be some possibility for general fields where we can add such information.

0 votes


Permanent link

You could create a custom attribute on a test case result or manual script step/result to store small amounts of text data.  For larger amounts, you could create a custom rich text field in the test plan or test case or use the Notes rich text section on the test case result.

0 votes

Comments

 Hi Paul,

The amount of data is huge so the attribute option does not work.
Then I have the following feedback on your proposals:
1. create a custom rich text field in the test plan -> the information is created for every test run and hence cannot be associated to test plan.

2. create a custom rich text field in the test case -> the information is available for a group of test cases rather than individual test case. So, this option is not feasible for us.
3.  use the Notes rich text section on the test case result. -> similar problem like above.
So, what could work is the  use the Notes rich text section on the test suite result. But, I cannot find this option in test suite result. Is there a way to add this Notes feature to Test Suite Result?
Thanks

Unfortunately, no (see enhancement Provide "notes" rich text in test suite results (142727)). 

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,028

Question asked: Feb 15 '19, 10:55 a.m.

Question was seen: 2,302 times

Last updated: Feb 21 '19, 11:03 a.m.

Confirmation Cancel Confirm