The fail keyword is primarily used for fixture testing. It tests that a cell is correctly failing.
| sample domain |
A failing integer comparison is handled.
| set | integer field | 3 |
| check | integer field | fail[4] |
A failing string comparison is handled.
| set | string field | hello |
| check | string field | fail[world] |
A failing object comparison is handled.
| set | person field | Joe Smith |
| check | person field | fail[Joe Smithe] |
Nested handlers are processed.
| set | integer field | 3 |
| check | integer field | 3 fail[>3] |
A nested fail keyword is handled.
| set | integer field | 3 |
| check | integer field | fail[fail[3]] |