Chapter 3. Testing Strategy

“How do I test thee? Let me count the ways.”

Elizabeth Barrett Browning (altered)

The different types of testing that occur during development are explained to give the context in which acceptance tests are developed. The tests that the customer provides are only one part of the testing process.

Types of Tests

Acceptance tests are one part of the testing strategy for a program. The easiest way to describe the full set of tests for an application is to use the testing matrix from Gerard Meszaros [Meszaros01]. The matrix in Figure 3.1 shows how acceptance tests fit into the overall picture.

Figure 3.1. The Testing Matrix

(Source: Meszaros, Xunit Test Patterns: Refactoring Test Code, Fig 6.1 “Purpose of Tests” ...

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.