It's all about the answers!

Ask a question

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


Layla Mayboudi (1222) | asked May 27 '13, 9:20 a.m.
retagged May 31 '13, 12:53 p.m. by Laura W. Hinson (16126)
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,

One answer



permanent link
Stephane Leroy (1.4k149) | answered May 27 '13, 9:45 a.m.
JAZZ DEVELOPER
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

Your answer


Register or to post your answer.