Slim - Table table

Fitnesse Architecture

Slim - Table table

About

The “Table” table is a fixture that:

  • accepts an arbitrary table,
  • and returns a table of results.

where:

  • The table of results has a similar structure to the input table (without the first row).

Implementation

The fixture is written with a doTable method that takes a List argument and returns a List.

Input:

  • The incoming list is a list of rows.
  • Each row is a list of strings.

Output:

  • The returned list has a similar structure except that it does not have the first row.

Return table Validation:

  • If any row of the returned list is longer than the corresponding row of the incomming list, then the extra columns will be added to the colored table.
  • If there are extra rows, then they will be added too.
  • The returned table can be larger, horizontally and vertically. It cannot be smaller!

Documentation / Reference





Discover More
Fitnesse Architecture
Fitnesse - Getting Started

A little getting started guide for fitness Slim has several test written in table format. We will use the decision table where eg specifies a Java package (or other language namespace),...
Fitnesse Architecture
Fitnesse - Slim Engine

Slim is the next engine generation of Fitnesse. It will replace fit. To set slim as the engine, add the following to your test page or to a parent page. Import: Env: Table Fixtures...
Fitnesse Architecture
Fitnesse - Test Table

A table (test table) is the basic statement of Fitnesse in order to defined test. The format is table dependent but they generally take the basic form of: a constructor row (that defines the test...
Fitnesse Architecture
Slim - Table Type

The table type The table type is defined on a table level in the first cell. For a page you can define the default value with the table type table. on the same page, the below table Bowling...



Share this page:
Follow us:
Task Runner