Full Trace for Stories

Does anybody know how to get full backtraces for stories when they fail?

I tried ‘ruby stories/all.rb --trace’ but it doesn’t like that option.

Thanks,

~ Mark

Mark D. wrote:

Does anybody know how to get full backtraces for stories when they fail?

I tried ‘ruby stories/all.rb --trace’ but it doesn’t like that option.

Thanks,

~ Mark

Mark,
Try ‘ruby stories/all.rb --backtrace’.
I’ve always had the full stack trace though… What kind of traces are
you seeing? Would you mind posting one?

-Ben

Ben M. wrote:

Mark,
Try ‘ruby stories/all.rb --backtrace’.

Thanks, that worked.

I think the test actually failed due to a bug in a gem I’m using
(webrat). Without the -backtrace switch RSpec quietens the backtrace by
stopping once it hits a gem it seems. Presumable that’s intended?

~ Mark