ActionFixture tables are good for carrying out a series of actions and tests on a system that changes state.
Four actions can be carried out in an ActionFixture table: start, enter, press, and check.
The enter, press, and check actions operate on various fields, such as total and new room. The names of these fields are chosen by the test writer.
We have seen two examples in which the tests make changes to the state of a system and check that the system responds as expected to those changes.
In our first example, each time an item is bought, we expect the total to increase by the price of that item.
In our second example, when a connected user enters a room, we expect to see them counted as an occupant of that room. We continue with this example in Chapter 6.