Even after one year of writing Fitnesse tests I keep forgetting the keywords to check for empty or erroneous results and how to get/set fitnesse variables. So finally, here’s a short list to look them up:

blank: checks for empty strings
null: checks for null
error: checks whether any kind of exception occured

Set symbol to the result of getFun():
| value | =getFun() |
| 3 | symbol |

Set param to the value of symbol:
| param= | setFun() |
| symbol | true |

Email this Share this on Facebook Share this on LinkedIn Tweet This! RSS feed for comments on this post. TrackBack URL

Leave a comment