This page is intended to act as a place for useful Frank step
definitions which aren’t quite standard enough to add to the core
frank steps. Please feel free to contribute your own useful codez.
From
http://groups.google.com/group/frank-discuss/browse_thread/thread/419a5f08d7ebb422
Recording Video of your cucumber run
Put this into somewhere where it will be loaded by cucumber (e.g
create a file like Frank/features/support/recording.rb), then you can
use @record tag to record a specific scenario.
Add this to the top of Frank/features/support/env.rb to record
everything in the whole cucumber run:
We record the screen with a terminal showing the cucumber steps right
beside the open simulator.
Two more tools you will probably want to use if you’re recording your
whole test suite run:
Timestamped
Scenarios - show
the timestamp in the cucumber output of when a scenario ran
starting with the start of the test run. So if a scenario fails at
9:02 into your test run, then you know where to start watching the video.
Slow Hand Cuke - a
cucumber formatter to display the currently running step (by
default cucumber displays steps after they have run, so you don’t
see the currently running step)