| CellMatching | |||||||
| actual type | actual value | expected value | cell handlers | matches | |||
| string | blank | fit | True | blank is a core keyword | |||
| string | blank | fitlibrary | False | but not for fitlibrary |
By adding a cell handler, the matching behavior is changed.
| cell handler loader | ||
| load | BlankKeywordHandler | fitlibrary |
| CellMatching | |||||||
| actual type | actual value | expected value | cell handlers | matches | |||
| string | blank | fitlibrary | True | now works for fitlibrary |
You can add and remove cell handlers in the Suite Configuration File.
You can add and remove handlers in the story test with the CellHandlerLoaderFixture.
| CellHandlerLoader | ||
| load | BlankKeywordHandler | FitLibrary |
| remove | BlankKeywordHandler | Fit |
| reset | FitLibrary | |
| reset | Fit |
You can add and remove handlers in fixture code.
Configuration.Instance.FitLibraryCellHandlers.Add("BlankKeywordHandler");
Configuration.Instance.FitCellHandlers.Remove("BlankKeywordHandler");