Chapter 6. Testing with Sequences of Tables

A single table is usually not sufficient to define a test. In this chapter, we show examples of tests that are formed from a sequence of tables.

We often need to use several types of tables in such a test. For example, we may want to use an ActionFixture to make changes to a system under test and then use a RowFixture to check that a collection from the system under test is now as expected.

It is useful to include details about what’s happening in the test. We show by example how comments can be added to a table sequence.

6.1 Chat Room Changes

We’ll use a variant of the chat room examples from Section 4.2 on p. 26 and Section 5.1 on p. 31. The example here will illustrate a sequence of ActionFixture ...

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.