A
Row Fixture table has a set of field names in the second row. An error is reported if this row is missing.
check | test result |
|
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.
check | test result |
SampleRowFixture |
name1 | name2 |
too short |
too | too | long |
|
SampleRowFixture |
name1 | name2 |
too short |
missing |
too | too | long |
|
An error is reported if a field name in the second row does not exist in the target object.
check | test 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.
check | test result |
sample row |
name1 | name2 |
too | too |
<extra> | <stuff> |
|
sample row |
name1 | name2 |
too | too |
<extra> missing | <stuff> |
too short surplus |
<stuff> | |