The symbol save operator can be used in any expected value cell. Instead of comparing the actual value to an expected value, the actual value is saved with the symbol name.
| CellHandlerStory | |
| string | string? |
| something | something >>mysymbol |
| null | null >>nullsymbol |
The symbol recall operator can be used in any input or expected value cell. The value used will be the last value saved with the symbol name.
| CellHandlerStory | |
| string | string? |
| something | something <<mysymbol |
| something <<mysymbol | something |
| null <<nullsymbol | null |
| null | null <<nullsymbol |
To use symbols with FitLibrary fixtures, you must modify the FitLibrary cell handler list.
| configuration set up | |||
| add | fitlibrary.CellHandlers | SymbolSaveHandler | |
| add | fitlibrary.CellHandlers | SymbolRecallHandler |
| eg.InfoFixture | ||
| set | result | 6 |
| check | result | 6 >>six |
| set | result | 6 <<six |
| check | result | 6 <<six |
Symbols can be erased with the Clear Symbols Fixture.
Notes:
This is a seperate feature from the FitNesse wiki symbol feature.