O'Reilly logo

Fit for Developing Software: Framework for Integrated Tests by Ward Cunningham, Rick Mugridge

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 23. List Fixtures

RowFixture tables test that the expected elements of a list match the actual list, or result of a query or search, in the application under test, regardless of order. A fixture of type RowFixture simply provides the appropriate list of elements from the system under test, as well as the type of those elements. This chapter shows the fixtures for the Fit tables introduced in Chapter 5.

23.1 Testing Unordered Lists

Let’s now return to the chat room occupant test from Section 5.1 on p. 31, as shown again in Figure 23.1. This is a RowFixture table, with the header row labeling the fields that make up the elements of the list.

Figure 23.1 Fit Table for Testing Occupants

The application has a list of rooms, each of ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required