There are more pleasurable things then wading through the fitnesse documentation with its table style, so whenever I don’t remember some fitnesse key word, I’d rather hesitate and wait for an inspiration before going there. This is to memorize the key words to be used in do fixtures.

  • show to print out non-boolean values
  • check to verify non-boolean values
  • reject to invert the logic of the test

Usage like this:

Do Fixture Test
check fixture method parameter expected value
show fixture method parameter
reject fixture method that will fail with parameter

I was the latter, which caused some failing wild guesses and finally made me read the documentation. Some more useful keywords worth recapitulating were documented here a year ago.

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

Leave a comment