Kategorien
Testing

Escaping symbol names in FitNesse

For the records: I lately had the case that I wanted to read a symbol´s value within a FitNesse sub wiki page which I included within another site for the first time. In this special case the symbol doesn´t get interpreted as symbol by the FitNesse engine, but as a normal camel case´d string, so it gets represented as a link to another wiki page: E.g. when having an string like „LukeImYourFather“ and assuming that there´s no wikipage with that name, the rendered output of this will be LukeImYourFather? where the question mark links to a new empty wikipage.
To avoid this behaviour simply escape the symbol´s name (but not the ‚<<‚-prefix) the standard-FitNesse-way: !- -!

<<!-MyFitNesseSymbol-!