[rspec-users] RSpec 2.0, Cucumber, ruby-debug

Curtis curtis.schofield at gmail.com
Fri Jul 2 12:22:57 EDT 2010

On Jul 1, 2010, at 10:48 PM, Woody Peterson <lists at ruby-forum.com>  

>> What are you experiencing and what are you expecting?
> If you use rspec in cucumber, cucumber doesn't support --debug as an
> option, so you can't use debuggers in cucumber + rspec.
> Given RSpec 2.0's api, the expected behavior is declaring --debug +
> debugger drops you into a debugger, and the experience is an  
> unsupported
> option error from cucumber.
> However, in my opinion, the expected behavior after declaring a  
> debugger
> is to be dropped into a debug session without an extra option. Once
> you've played with it a little, then I could imagine wanting to turn  
> 'em
> off for a sec before removing them entirely. So I'd rather have
> --no-debug myself.
> -- 

I imagine the --debug flag is to avoid any errant debugger calls from  
flaking out production.

> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users

More information about the rspec-users mailing list