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

PreCondition and PostCondition Option in TestCase

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.

0 votes



2 answers

Permanent link
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.

0 votes


Permanent link
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?

0 votes

Comments

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

Question asked: May 04 '12, 11:11 a.m.

Question was seen: 20,282 times

Last updated: May 27 '13, 9:49 a.m.

Confirmation Cancel Confirm