Chapter 4. An Introductory Acceptance Test

“If you don’t know where you’re going, you will wind up somewhere else.”

Yogi Berra

An example of an acceptance test is presented, along with four ways that you can execute an acceptance test.

A Sample Business Rule

Here is an example from a previous project where Debbie and Tom created tests in collaboration with the customer. The business representative, Betty, presented the two of them with a business rule for giving discounts that she had obtained from one of the stakeholders. The stakeholder wanted to give discounts to the firm’s customers based on what type of customer they were. Debbie had already completed implementing a previous requirement that determined the customer type. Here’s the ...

Get Lean-Agile Acceptance Test-Driven Development: Better Software Through Collaboration now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.