Row Fixture

Modified on 06/02/2013 21:34 by Administrator — Categorized as: Row Fixture, Test Fixture Type, TestWiki

Test Wiki - Row Fixture

The row fixture is the most difficult to understand of all the test fixture types. WardsWiki defines the Java row fixture here.
A RowFixture compares rows in the test data to objects in the system under test. Methods are invoked on the objects and returned values compared to those in the table.

The fixture processes all the rows of one table following these five steps:
  1. bind the columns to variables and methods by reflection.
  2. query to get the result rows which will be checked.
  3. match the expected and result rows and check the matches.
  4. build html for missing rows.
  5. mark mark missing and surplus rows as such.