[rspec-users] save stack trace in story runner

Joseph Wilk lists at ruby-forum.com
Thu Sep 11 07:17:21 EDT 2008

aidy lewis wrote:
> Hi Aslak,
> 2008/9/11 aslak hellesoy <aslak.hellesoy at gmail.com>:
> When I get an exception I would like to log the trace somewhere.
> Aidy

I'm using Cucumber and the HTML formatter gives me nice error traces on 


    Error contacting Yahoo Boss web-service (Boss::BossError)
      ./steps/../../lib/boss/api.rb:60:in `search_boss'
      ./steps/../../lib/boss/api.rb:31:in `search_web'
      ./steps/web_search_steps.rb:18:in ` /I do a '(.+)' search for 
      web_search.feature:13:in `/I do a '(.+)' search for '(.+)'/'

Joseph Wilk
Posted via http://www.ruby-forum.com/.

More information about the rspec-users mailing list