2.1. Fit TablesFit tables can enhance our communication about what is needed in a software system. Fit uses tables for writing tests and for reporting the results of automatically checking those tests. This tabular form enables people with a business or organizational background to help guide the overall development of a needed system by writing concrete examples that also serve as tests. For example, the report for a Fit table for testing discounts is shown in Figure 2.1 (see also Plate 1). This table consists of several tests, with each row showing what discount is expected for a given amount. This example is explained in Chapter 3. Figure 2.1. Fit Report for TestDiscount
|