FitNesse.NET
Row Fixture


do
withtypestory test

A Row Fixture table has a set of field names in the second row. An error is reported if this row is missing.

checktest result
fat.SampleRowFixture
fat.SampleRowFixture
System.ApplicationException: Header row missing.

All subsequent rows must be at least the same width as the header row. Extra cells are not processed.

checktest result
fat.SampleRowFixture
name1name2
too short
tootoolong
fat.SampleRowFixture
name1name2
too short missing
tootoolong

An error is reported if a field name in the second row does not exist in the target object.

checktest result
fat.SampleRowFixture
bad name
fat.SampleRowFixture
fitlibrary.exception.InvalidMethodException: Missing method 'badname' with 0 argument(s).
bad name

Encoded text is handled.
checktest result
sample row
name1name2
tootoo
<extra><stuff>
sample row
name1name2
tootoo
<extra> missing<stuff>
too short surplus <stuff>
© Copyright 2007,2008 Syterra Software Inc. All rights reserved.