Constraint Fixture executes a method for each row using the row cell values as input. The method name is created by concatenating the header row values. Each row is marked according to the boolean return value of the method.
By default, rows returning true are marked green.
when test is⇓
story test fixture 
check  test result 
sample constraint 
greater  than 
1  2 
2  1 

sample constraint 
greater  than 
1  2 
2  1 


sample constraint 
greater  than 
1  2 
2  1 
 then result is 
sample constraint 
greater  than 
1  2 
2  1 

We can specify that rows returning false are marked green.
when test is⇓
story test fixture 
check  test result 
make fixture  false 
greater  than 
1  2 
2  1 

make fixture  false 
greater  than 
1  2 
2  1 


make fixture  false 
greater  than 
1  2 
2  1 
 then result is 
make fixture  false 
greater  than 
1  2 
2  1 

A repeat string can be set to copy previous row values.
when test is⇓
story test fixture 
check  test result 
make fixture repeat  ditto 
greater  than 
1  2 
ditto  3 
2  1 

make fixture repeat  ditto 
greater  than 
1  2 
ditto  3 
2  1 


make fixture repeat  ditto 
greater  than 
1  2 
ditto  3 
2  1 
 then result is 
make fixture repeat  ditto 
greater  than 
1  2 
ditto  3 
2  1 

'SetUp' and 'TearDown' methods are executed if they exist.
when test is⇓
story test fixture 
check  test result 
sample constraint 
greater  than 
1  2 
2  1 

sample constraint 
greater  than 
1  2 
2  1 

check  log  SetUp() GreaterThan(1,2) GreaterThan(2,1) TearDown() 

sample constraint 
greater  than 
1  2 
2  1 
 then result is 
sample constraint 
greater  than 
1  2 
2  1 
 with log  SetUp() GreaterThan(1,2) GreaterThan(2,1) TearDown() 
Errors are reported.
when test is⇓
story test fixture 
check  test result 
sample constraint 
add  to 
1  2 
2  1 

sample constraint
Method does not return boolean.

add  to 
1  2 
2  1 


sample constraint 
add  to 
1  2 
2  1 
 then result is 
sample constraint
Method does not return boolean.

add  to 
1  2 
2  1 

when test is⇓
story test fixture 
check  test result 
sample constraint 
gar  bage 
1  2 
2  1 

sample constraint
Member 'garbage' with 2 parameter(s) not found for type 'fit.Test.Double.SampleConstraint'.

gar  bage 
1  2 
2  1 


sample constraint 
gar  bage 
1  2 
2  1 
 then result is 
sample constraint
Member 'garbage' with 2 parameter(s) not found for type 'fit.Test.Double.SampleConstraint'.

gar  bage 
1  2 
2  1 

when test is⇓
story test fixture 
check  test result 
sample constraint 
greater  than 
1 
3  2  1 

sample constraint 
greater  than 
1
This table is invalid for this fixture: Row should be 2 cells wide.

3
This table is invalid for this fixture: Row should be 2 cells wide.
 2  1 


sample constraint 
greater  than 
1 
3  2  1 
 then result is 
sample constraint 
greater  than 
1
This table is invalid for this fixture: Row should be 2 cells wide.

3
This table is invalid for this fixture: Row should be 2 cells wide.
 2  1 
