Knowledge Center

Oracle. Definition and Meaning

An oracle is such technique with the help of which the accuracy of the output can be checked. Oracle’s conformation is a non-trivial trouble in any case where the program output format is not precisely determined.

For example, here is a simple student problem `write a program to read a number of centimeter and print the equal distance in feet and inches'. The quantity of possible outputs for the same input data comprise such examples as:

1 foot 3.6 inches

1 ft 3.59 ins

one foot four inches

ins 3.6 ft 1

All these must be accurately and exactly expounded by the oracle.

There is also another definition of Oracle. Oracle is an assumption that software tester can routinely identify the right outcome of a test.