Cell decoration
| Import |
| com.greenpepper.seeds |
| GreenPepper |
When the value returned by the SUT is identical to the one expected, the html cell is colored in green, otherwise, it is colored in red.
Exceptions are also considered. If an exception is awaiten, the keyword error can be used. If an exception occurs while none was expected, the cell is colored in yellow.
| rule for |
html cell decoration |
| expected |
returned |
cell color? |
cell text? |
| value1 |
value1 |
GREEN |
value1 |
| value1 |
value2 |
RED |
Expected: value1 Received: value2 |
| error |
error |
GREEN |
error |
| error |
value1 |
RED |
Expected: error Received: value1 |
| value1 |
error |
YELLOW |
error |
| |
value1 |
GREY |
value1 |
| |
|
GREY |
|
this seed must be splitted into 2 others seeds.
one to test end specify cell color or state
another for the text