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 ...
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.