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 5. Testing Lists with RowFixture Tables

RowFixture tables are designed for testing that the results of a search or a query of the system under test are as expected. Such tables can also test that the expected elements of a list—group, list, sequence, set, or bag of things—are present in the system under test. For example, we may wish to test that all the outstanding orders for a customer are as expected. The rows together form a single group, unlike the independent rows of a ColumnFixture table.

Using RowFixture tables we now look at examples that test lists. In the next chapter, we’ll see how to combine such tables with other types of tables in a Fit test.

5.1 Testing Lists Whose Order Is Unimportant

Here’s the business rule for ...

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