It's all about the answers!

Ask a question

Code Coverage Information in Test Results


Kalyan Balasa (135) | asked Feb 15 '19, 10:55 a.m.
 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.

Comments
Kalyan Balasa commented Feb 15 '19, 11:00 a.m.
 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
Daniel Barbour (250222) | answered Feb 21 '19, 11:03 a.m.

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.


permanent link
Kalyan Balasa (135) | answered Feb 20 '19, 4:45 a.m.

 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.


permanent link
Paul Slauenwhite (8.4k12) | answered Feb 20 '19, 6:17 a.m.
FORUM MODERATOR / JAZZ DEVELOPER

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.


Comments
Kalyan Balasa commented Feb 20 '19, 6:36 a.m.

 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


Paul Slauenwhite commented Feb 20 '19, 7:28 a.m.
FORUM MODERATOR / JAZZ DEVELOPER

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

Your answer


Register or 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.