Are Fitnesse Framework regular expressions possible?

Is there an easy way in Fitnesse to check cells based on regex patterns? This should work for all possible devices, such as a “query table”, “decision table”, etc. For example. if the results (rows) are returned from the query table, it should be possible to map specific cells (columns) to the regular expression, not just a fixed row. You probably know what I mean. I can not find clues in the docs and googling around. I can not find a solution that works out of the box. Is there really a default method in Fitnesse for this? I can’t imagine that people haven’t asked for this several times. If someone hadn't pointed me to an online tutorial somewhere?

Any help would be really appreciated.

Greetings

Marseilles

+3
source share
2 answers

Slim table style supports regular expressions for comparing values ​​using syntax

=~/regex/

See http://fitnesse.org/FitNesse.UserGuide.SliM.ValueComparisons for more details .

+2
source

In the Java world, there is no “ready-made” way to do this. With the .NET version it is available: http://syterra.com/Fit/RegExHandler.html

+1
source

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


All Articles