Skip to main content

Pre Post Conditions

Definition

Pre-post conditions are formal statements that specify the state of a system before and after the execution of a particular operation. A precondition describes what must be true before an operation begins for it to function correctly. A postcondition describes what must be true after the operation completes, assuming the precondition was met. They define expected behavior. They outline system states.