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)

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 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.
Hi Layla,

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

Please refer to
"To run the test cases in the suite in sequence, clear the Run this suite in parallel"


Your answer

Register or to post your answer.