2.4. Tables, Fixtures, and a System Under TestFigure 2.2 shows the main testing ingredients that we will be exploring throughout this book. At the top are three Fit tables that contain data for one or more tests. In the middle are three fixtures, each of which is responsible for checking that the tests in their table are satisfied by the system under test, which is at the bottom. Figure 2.2. Fit Tables Test Applications
We begin with some simple examples of Fit tables for testing. Such tests are for checking various business rules, those elements of a software application that most interest businesspeople. |