Hi guys,
I maintain a little Cucumber related tool called Swinger, for testing Java/Swing apps using Cucumber and JRuby.
I've recently added a really useful feature to Swinger that is a interactive console debugger that gets activated once it finds a step "When console!" or a feature tagged with "@console".
It's really simple code really.
Once the console debugger gets activated, we get into a regular IRB session in the middle of a feature execution with all the local, global and World scope available for inspection and manipulation. To get it going again, just exit the IRB session and Cucumber carries on.
It's been a real time saver for us, so I was wondering if it would be interesting to have it as built-in feature in Cucumber itself. What do you think?
I'd rather have only the "tag-based activation", but to get rid of the "When console!" step, we'd have to have a BeforeStep hook available (debugging is a nice use case for BeforeStep, btw - what happened to it?).