It's all about the answers!

Ask a question

PreCondition and PostCondition Option in TestCase


anoop mc (74811200221) | asked May 04 '12, 11:11 a.m.
In a testcase , there are two conditions PreCondition and PostCondition to be satisfied before executing a test case.

I need some clarification regarding the data to be entered in both of these sections. Is it some text which should write in both the sections.

2 answers



permanent link
Jerry Shengulette (63914) | answered May 11 '12, 4:35 p.m.
JAZZ DEVELOPER
In a testcase , there are two conditions PreCondition and PostCondition to be satisfied before executing a test case.

I need some clarification regarding the data to be entered in both of these sections. Is it some text which should write in both the sections.


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.

permanent link
Layla Mayboudi (1222) | answered May 27 '13, 9:15 a.m.
Can you define a pre-condition that forces a test case to be executed before another test case?  In other words, introduce some order into running the test cases?

Comments
Stephane Leroy commented May 27 '13, 9:49 a.m.
JAZZ DEVELOPER

Hi Layla,

you could find another (simple) approach for doing this in an answer to another question you raised:
https://jazz.net/forum/questions/114356/how-to-define-pre-conditions-for-running-test-cases-that-force-a-test-case-to-be-run-before-the-other-one

Regards,
Stéphane

Your answer


Register or 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.