Chapter 2. Communicating with Tables

2.1 Fit Tables

Fit 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

2.2 Tables for Communicating ...

Get Fit for Developing Software: Framework for Integrated Tests now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.