concept data table in category java

appears as: data tables, data table, The data table
Java Testing with Spock

This is an excerpt from Manning's book Java Testing with Spock.

Now that you know the basic use of the where: block, it’s time to focus on its contents. So far, all the examples you’ve seen have used data tables. This is one of the possible variations. Spock supports the following:

5.2.1. Using data tables in the where: block

We’ve now established that the where: block must be the last block in a Spock test. In all examples you’ve seen so far, the where: block contains a data table, as illustrated in figure 5.3.

Figure 5.3. The where: block often contains a data table with defined input columns and a desired result column.