What is meant by preconditions and postconditions in a Test Case ?

Answers : preconditions: Anything that the solution…

Preconditions:

  • A precondition of an operation is an assertion which must be true just before the operation is called.
  • Anything that the solution can assume to be true when the use case begins is known as preconditions.
 Preconditions and Postconditions in Testing

Preconditions and Postconditions in Testing

Post Conditions:

  • A postcondition of an operation is an assertion which must be true just after the operation has been completed.
  • A postcondition means if the operation returns the desired result, or has the desired effect, relative to the given parameters that satisfy the precondition.
Leave a Reply

Your email address will not be published.

You May Also Like