Verbose Logging

Twitter Icon Linkedin Icon Skype Icon Flickr Icon
RSS
software development with some really amazing hair

Debugging cucumber on rails

» Posted in Programming » Tagged with rails debugging testing cucumber ruby

I like frameworks, but sometimes debugging them is more entertaining. I don’t know why I didn’t think of this method before, but mischa on github has a great little repo showing how you can do it.

The README

Usage:

Add:

require ‘ruby-debug’
require ‘cucumber_rails_debug/steps’

To features/support/env.rb


Then use:

Then debug # opens the debugger

or

Then what #prints out params, url and html

Check it out here

Share/Bookmark
Comments powered by Disqus