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

Can RQM read the Metalab test module output file?

 I have matlab scripts that unit test my simulations and function blocks and I want RQM to be able to look at the generated file and determine if my test cases have passed. 


The output file looks this:
                               Name                                     Passed    Failed    Incomplete    Duration      Details   
    __________    __   

    'X20_test/PressureCompensation'                     true      false          false          14.419     [1×1 struct]
    'X20_test/FlowCompensation'                            true      false          false          1.4649     [1×1 struct]
    'X20_test/TorqueControl'                                    false      false         false          1.1424     [1×1 struct]


Each line is test script. first column is test script name.
Can RQM open the file and recognize the 2nd column value and the 4th column?

0 votes



One answer

Permanent link
Hi Mohamed,
Short answer to your question is No, RQM can not directly understand what is in your matlab output.

In order to have RQM executing matlab scripts and capturing results matlab needs to integrate with RQM via an execution adapter. See - https://jazz.net/library/article/809 for knowing more about adapter like command line adapter.

But currently RQM does not have any execution adapter for matlab. The adapter can be developed but it is longer route.

Another way without needing to develop an adapter for RQM-matlab is sort of 3 step approach. For that try to develop a tool to perform Reportable Rest API commands to --
1. Create one test cases each for one of your matlab script. Use RQM Rest APIs for that. https://jazz.net/wiki/bin/view/Main/RqmApi.
2. Execute test cases so you have test case result created.
3. Read result from your file for each of the matlab script and update RQM Test Case Result via Reportable Rest APIs.

Thanks,
Abhishek.

0 votes

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

Question asked: Dec 06 '18, 11:10 a.m.

Question was seen: 3,950 times

Last updated: Dec 07 '18, 11:10 a.m.

Confirmation Cancel Confirm