2

Is it possible to express this in a Query Table in FitNesse with SLIM for .net:

contains(data)
startswith(data)
endswith(data)

I know from a previous question it was possible for FitNesse/Fit with cell handler loader. I'm looking for the equivalent in Slim.

Community
  • 1
  • 1
grootjans
  • 592
  • 1
  • 6
  • 17

2 Answers2

2

you can use regular expressions with slim, check it out: http://fitnesse.org/FitNesse.FullReferenceGuide.UserGuide.WritingAcceptanceTests.SliM.ValueComparisons

TDDdev
  • 1,490
  • 1
  • 17
  • 18
zumalifeguard
  • 8,648
  • 5
  • 43
  • 56
  • Thanks, this will solve my problem ... for now. This should work technically. However, this will undermine the original intent of FitNesse. FitNesse is intended to be a communication platform between customer, tester and developer. Only (some) developers understand regular expressions. => see "Bridging the communication gap" -- Gojko Adzic – grootjans Jun 19 '10 at 12:14
0

No, the Slim test system doesn't provide a way to customize the comparison of cell contents.

Mike Stockdale
  • 5,256
  • 3
  • 29
  • 33