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

RQM - Gtest Integration for CPP projects for Testing

Hi All,

Is there any plugin available for testing CPP projetcs in RQM using gtest, like Selenium adapter for Junit testing in RQM or How to proceed to test the CPP projects from command line adapter where gtest should be executed?

Also is it possible to feed the test scripts (CPP) in RQM and then execute those test scripts using gtest from command line adapter.

Any suggestion or solutions would be of great help. Thank you.

0 votes



One answer

Permanent link

Hi RK G,
No we do not have any adapter which can directly run CPP based test frameworks similar to what we have for Selenium Based Junit Test Scripts.

However, if you want, you could make use of command line adapter to run Command Line Scripts.
But in that case how are you going to define test script boundary via command line scripts, it would depend on the command line script implementation.
In your case you may have to create one test script in RQM for each of the command line scripts each one of which representing one CPP script.
Those scripts can be added in to a RQM test case and then those test case can be run to execute your CPP based scripts via a Command Line interface script.

So in short for each CPP script there would be a command line script and one rqm based test script.

If that works for you, you could give it a try.

Please let us know if you need more help in this regard.

0 votes

Comments

Hi Abhishek,

Thanks a lot for your valuable time and the suggestion. I will give a try with the proposed and will get back to you if any help needed.

Hi Abhishek,

Greetings for the day, as me being a newbie to google test and working on testing scenarios, could you please help me sharing any sample documents/articles available with you if there are any for the implementation of the above scenario.

I was able to install CLA and has been able to enable it on RQM. We were struck in how to create test scripts in gtest and the same to be invoked from RQM where the results of test case execution should be reflected in RQM. Please help and hoping that this will reach you in good spirits. Thank you.

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
× 10,941
× 7,499
× 382

Question asked: Aug 28 '18, 3:00 a.m.

Question was seen: 2,675 times

Last updated: Aug 30 '18, 2:46 a.m.

Confirmation Cancel Confirm