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

Programmically stop a test suite run in the command line adapter.

We use both the RFT adapter and the Command-Line Adapter. We have as part of the test suite as test script that check-outs a given branch and builds the binaries before testing. Is there an exit code or other method to signal that the test suite run should stop in the event of build errors?

Specifying "Stop suite execution if any test does not pass " isn't sufficient since if the build test case passes we do not want subsequent tests that fail to interrupt the test suite run. We want script control of a test suite run were "soft fails", typically normal failures do not interrupt, while "hard fails" would stop a test suite run.

Can this be done for both CLA and RFT?


0 votes



One answer

Permanent link
Hi Anthony,

Unfortunately, there is no other option than "Stop suite execution if any test does not pass " to stop suite execution from adapter.

If execution request for one of the step is cancelled, then the whole suite execution gets cancelled. But there is no way to mark execution request cancelled from CLA or RFT (any adapter).

I would suggest to open an RFE in RQM with your use-case.

Thanks,
Vijay

0 votes

Comments

Is there any explanation some place as to how "Stop suite execution if any test does not pass" is implemented? Maybe I can kludge a solution until such time as a feature is implemented.

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,023

Question asked: Mar 11 '13, 4:23 p.m.

Question was seen: 4,876 times

Last updated: Mar 12 '13, 2:44 p.m.

Confirmation Cancel Confirm