11.1. Business FormsIt can be convenient to have a test that is similar in structure to a standard business form, such as an invoice. This reduces the gap between the business world and the tests, making it easier for businesspeople to write and to read the tests. For example, Figure 11.1 shows a report for a Fit table that is based on an invoice. The number of rows in the table depends on the number of order items; here, there are two. Figure 11.1. A Table Corresponding to an Invoice
Programmers The fixture code for the tests here is given in Section 29.2 on p. 248. Questions & Answers
|