From the course: Software Testing: Exploratory Testing

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Oracles and truth

Oracles and truth

From the course: Software Testing: Exploratory Testing

Start my 1-month free trial

Oracles and truth

- [Instructor] In this video, I want to look at oracles. It's a bit of a strange word, and you might not have heard of it before. So what is an oracle? Well, the term originated in a 1978 paper by a computer scientist named William Howden, and refers to the source of truth that determines if the output of a system that you currently see is right or wrong. Now, that's all a bit abstract, so let's take a look at a specific example to help understand it better. We're going to look at this with a simple calculator that we can use to calculate how much it will cost us to park for a given amount of time. Now, I'm going to choose some dates on here. So I'll choose March 26th for my entry date, but for my leaving date, I'm going to choose a date that's earlier. So I'm going to put March 25. Now, what happens when I click Calculate? Well, let's see. So I click Calculate, and it gives me this error. You can't have a date…

Contents