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

How to define pre-conditions for running test cases that FORCE a test case to be run before the other one?

Hello,

I came across the following at one of the comments:

"Test cases can be run without either Pre- or Post-conditions. These fields exist to allow you the opportunity to record free form text information to the tester if such conditions exist. For example, preconditions might be that the user has to authenticate through a firewall using an external application to reach the proper server or that existing copies of file foo.bar should be removed from the test machine. Postconditions might relate to cleaning up the test machine once the test case is complete. Such conditions may or may not exist relative to each test.

The short answer is that it's a free form text field used to provide this information to the tester."

However, I would like to know if a test case can be run before the other one (forced) and if number of test cases can be run one after another in a certain order disregarding the order that they have been defined under the test plan?

Thank you,

0 votes



One answer

Permanent link
Hi Layla,

have you considered the approach of using test suites to handle test case execution order ?

Please refer to http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0m1/index.jsp?re=1&topic=/com.ibm.rational.test.qm.doc/topics/t_run_testsuite.html&scope=null
"To run the test cases in the suite in sequence, clear the Run this suite in parallel"

Regards,
Stéphane

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
× 12,025
× 1,381
× 55
× 45
× 8

Question asked: May 27 '13, 9:20 a.m.

Question was seen: 10,278 times

Last updated: May 31 '13, 12:53 p.m.

Confirmation Cancel Confirm