search for: implementation_backtrac

Displaying 2 results from an estimated 2 matches for "implementation_backtrac".

2008 Jul 08
1
Strange behaviour with pending specs and implementation_backtrace
Hi all, I''m using my own OutputFormatter with /bin/spec to catch rspec results. I''m experiencing strange behaviour with pending specs and implementation_backtrace. This is my example_pending implementation in rspactor_formatter.rb: class RSpactorFormatter def example_pending(example, message) spec = SpecObject.new( :name => example.description, :example_group_name => @example_group.description, :state...
2008 Nov 21
0
Backtrace for passing specs
Hi, I''m using example.implementation_backtrace in a custom formatter to get the path of the file a passing spec belongs to. Following rspec on github I saw that implementation_backtrace is now deprecated and replaced by example.backtrace. Sadly it always returns nil for passed specs. So I had a look at the source and found that backtrace only...