· It is the expected outcome of a test.
· It is the identification of the desired
behaviour of a test.
Expected results are the predicted
outcome of a test.
It is essential that they are determined
prior to test execution.
How do we derive expected results?
From documentation (functional specification).
If no documentation exists then derive expected
results from: -
·
The existing system.
·
From specialised user knowledge also known as “Oracle Assumption”.
The “Oracle Assumption” is that
a tester can routinely identify the correct outcome of a test.
This means that the tester knows where to
look to get the information from which the expected outcome can be derived.
The word Oracle come from Greek mythology
and in this instance means the source of information.
This may be documentation, the existing system
or an individual’s specialised knowledge.
Expected Results must never be derived from
the Code.
Back to Tutorials