How to suppress WikiWord formatting for variables in Fitnesse

I use syntax ${varname}to reference an environment variable in one of my Fitnesse tests in the form

| check | Project Name | ${PROJECT_NAME} |

In most cases, this works fine, but sometimes the value of the environment variable (coincidentally) is in the WikiWord format, which delays the test, because Fitnesse considers it as a link to the page:

| check | Project Name | MyTestProject[?] |

I tried to use syntax !- -!to suppress formatting, but this prevents the ability to change the variable. Is there a way to suppress wikiword formatting after resolving a variable?

+3
source share
1 answer

, ! :

!|check|project name|${PROJECT_NAME}|
+6

Source: https://habr.com/ru/post/1778972/


All Articles