课程: Software Testing: Exploratory Testing

今天就学习课程吧!

今天就开通帐号,24,700 门业界名师课程任您挑!

Oracles and truth

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…

内容