fitSharp
Array Fixture Errors

Array Fixture errors are reported if the table is malformed.

setup sample array
column acolumn b
ax
ay
by

when test is
story test fixture
checktest result
sample array
column acolumn b
axextra
ay
by

sample array
column acolumn b
a
This table is invalid for this fixture: Row should be 2 cells wide.
xextra
ay
by

sample array
column acolumn b
axextra
ay
by
then result is
sample array
column acolumn b
a
This table is invalid for this fixture: Row should be 2 cells wide.
xextra
ay
by

when test is
story test fixture
checktest result
sample array
column acolumn b
a
ay
by

sample array
column acolumn b
a
This table is invalid for this fixture: Row should be 2 cells wide.
ay
by

sample array
column acolumn b
a
ay
by
then result is
sample array
column acolumn b
a
This table is invalid for this fixture: Row should be 2 cells wide.
ay
by

when test is
story test fixture
checktest result
sample array

sample array
This table is invalid for this fixture: Header row missing.

sample array
then result is
sample array
This table is invalid for this fixture: Header row missing.

when test is
story test fixture
checktest result
sample array
column agarbagecolumn b
ax
ay
by

sample array
column agarbage
Column 'garbage' not used.
column b
ax
ay
by

sample array
column agarbagecolumn b
ax
ay
by
then result is
sample array
column agarbage
Column 'garbage' not used.
column b
ax
ay
by

© Copyright Syterra Software Inc. All rights reserved.