It's all about the answers!

Ask a question

Use RQM for unit test?


Jochen Widmaier (22310) | asked Sep 21 '17, 11:19 a.m.
retagged Sep 22 '17, 12:53 a.m. by Minakshi Jaint (5113)

Has somebody used RQM to manage their unit tests (for C)? In which way did you organize your test (e.g. one test case for each function or one test case for each test of each function)?

And is there a way to link e.g. a test case to a specific "version" of the source file stored in RTC SCM? As the test case might change for different versions of the function.

This is a quite generic question, but I would be interested in your experience.

One answer



permanent link
Paul Slauenwhite (8.4k12) | answered Sep 21 '17, 8:52 p.m.
FORUM MODERATOR / JAZZ DEVELOPER

I would suggest using the JUnit approach (see Selenium) as an example.  Although RQM does not support unit tests for C, you could run the unit test via the Command Line Adapter (see
Running command-line tests). 

For RTC SCM file linking, see https://jazz.net/pub/new-noteworthy/rqm/6.0.3/6.0.3/index.html#20.


Comments
Geoffrey Clemm commented Sep 22 '17, 3:22 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 Note that file-linking is only available when you have turned on versioning for RQM.  One then uses "validity" to indicate the versions of the source code that a particular test case version is valid for.

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.