Oracles

Oracles image

What is an oracle?

An oracle in testing is a source of knowledge that informs your testing, and that information can be used to inform or determine your testing or to determine if something is a defect or not. Oracles can sometimes inform you of other oracles, and oracles are like a spidey sense when you get the feeling that something doesn't quite seem right here. Cool. 

Do you have any examples?

  • You have comparable products. So does the application have to work in a way that is in line with similar products?
  • Statutes. Does the application have to work in a way that conforms to laws and regulations.
  • Claims, does the application have to work according to requirements or specifications. Are there any marketing or sales claims made regarding the software, or past experiences, so relating to things that you have experienced in the past to inform you of the software that you're testing? 

What's the value? 

They can be used as a source, for backing up your book reports, and, also, they can inform your test design and what might take priority in your testing. 

What are the pitfalls?

Oracles are flawed. Using one oracle will return only one piece of the puzzle. You need to use many oracles to gain a fuller picture. And now we know about oracles.
Win tickets for SeleniumConf & AppiumConf 2025 in Valencia image
Tag the speaker you're most excited to see in the comments on the LinkedIn post
Explore MoT
Software Testing Live: episode 01 - Breaking the bank image
Tune in to witness a live software testing session. Rahul joins Ben to explore the ParaBank practice app
MoT Foundation Certificate in Test Automation
Unlock the essential skills to transition into Test Automation through interactive, community-driven learning, backed by industry expertise
This Week in Testing
Debrief the week in Testing via a community radio show hosted by Simon Tomes and members of the community
Subscribe to our newsletter
We'll keep you up to date on all the testing trends.