fitSharp
Row Fixture


story test fixture

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
SampleRowFixture
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
SampleRowFixture
name1name2
too short
tootoolong
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
SampleRowFixture
bad name
SampleRowFixture
Member 'badname' with 0 parameter(s) not found for type 'fit.Test.Double.SampleRowFixture+TwoNames'.
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 © 2022 Syterra Software Inc. All rights reserved.