Test oracle
In software testing, a test oracle (or just oracle) is a provider of information that describes correct output based on the input of a test case.[src] Testing with an oracle involves comparing actual results of the system under test (SUT) with the expected results as provided by the oracle.[src] The term "test oracle" was first introduced in a paper by William E.[src] Howden.[src] Additional work on different kinds of oracles was explored by Elaine Weyuker.[src] An oracle can operate separately from the SUT, accessed at test runtime, or it can be used before a test is run with expected results encoded into the test logic.[src] However, method postconditions are part of the SUT, as automated oracles in design by contract models.[src] Determining the correct output for a given input (and a set of program or system states) is known as the oracle problem or test oracle problem, which some consider a relatively hard problem, and involves working with problems related to controllability and observability.[src]
In software testing, a test oracle (or just oracle) is a provider of information that describes correct output based on the input of a test case.[src] Testing with an oracle involves comparing actual results of the system under test (SUT) with the expected results as provided by the oracle.[src] The term "test oracle" was first introduced in a paper by William E.[src] Howden.[src] Additional work on different kinds of oracles was explored by Elaine Weyuker.[src] An oracle can operate separately from the SUT, accessed at test runtime, or it can be used before a test is run with expected results encoded into the test logic.[src] However, method postconditions are part of the SUT, as automated oracles in design by contract models.[src] Determining the correct output for a given input (and a set of program or system states) is known as the oracle problem or test oracle problem, which some consider a relatively hard problem, and involves working with problems related to controllability and observability.[src]
16 sentences · 16 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Test oracle." encyclopegia.org, 2026, https://encyclopegia.org/wiki/test-oracle. Accessed 28 November 2026.
Chicago
"Test oracle." encyclopegia.org. Accessed November 28, 2026. https://encyclopegia.org/wiki/test-oracle.
APA
encyclopegia.org. (2026). Test oracle. Retrieved November 28, 2026, from https://encyclopegia.org/wiki/test-oracle
Accessed November 28, 2026 · CC BY-SA 4.0 · citation page · JSON