Fitnesse - Engine (Test System)

Fitnesse Architecture


Fitnesse has two test backend engine:

Fitnesse Architecture

Test Run

  • FitNesse submits the test table to the engine (test system)
  • The engine looks for and runs the fixture code corresponding to the test table.
  • For each row of data in a test table, from left to right, the engine will determine if it's:
    • an input cell
    • or an output cell (?)
  • Then it will call the methods (from left to right) of the fixture code
    • the input method (using the setter methods)
    • and the output methods (that return value)


FitNesse displays the results page accordingly to the return values and figures out whether to turn table cells :

  • red with the expected and actual values - bad test
  • green - good test
  • or yellow with stack trace - if an exception was thrown, or if a fixture, a field, or method could not be found


  • In the green cells, we got back the expected values from our code.
  • A cell turns red when we get back a different value than what we expected. We also see two values: the expected value and the actual value.
  • A yellow cell, if an exception was thrown

Documentation / Reference

Discover More
Fitnesse Architecture
Fitnesse - Fit Engine

Fit (“Framework for Integrated Testing”) is one of the two engine of fitnesse. The other one is called slim. It's a table-based...
Fitnesse Architecture
Fitnesse - Fixture

A fixture is a test class that test the system and that matches the expected format of test table. Division The engine will: call it and pass the contents of the test table to the methods of the...
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
Test - Fitnesse Framework

Fitnesse is test framework based on two components: The front-end, a wiki of a page and as two backend engine that runs wiki page marked as test page slim or Fit The tests are written in a...

Share this page:
Follow us:
Task Runner