On Dec 26, 2007 4:38 PM, Armin Joellenbeck <[EMAIL PROTECTED]> wrote: > Hello, > > how can I execute some code after each step of a story. Is there some > kind of listener documentated.
Very little is documented, and Story Runner is still considered experimental (i.e. API's subject to change), but here is what you can do with the 1.1.1 release: World.add_listener(mylistener) The listener needs to respond to a variety of messages related to steps and scenarios, so you'll probably want to implement method_missing to ignore the messages you're not interested in. HTH, David > > Thank you in advance, > > Armin > _______________________________________________ > rspec-users mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/rspec-users > _______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
