rspec-cleverbacktrace version 0.1 has been released!
The default backtrace handling for rspec is … okay. It would be
you could find the source of exceptions during test runs without
to see all the backtraces, right?
That’s what this thing is for: it compacts backtraces, skims out
should be ignored (and respects ignore_patterns), then trims filenames
contracts repetition into a legible format.
RuntimeError in ‘This spec has to dig deep to find a problem’
wash_left_hand' 2 lib/left_hand.rb:4:inknow_what_right_hand_is_doing’
I’ve been thinking rspec should add something similar, before.
My original thought was just to show the actual code at the line that
raises–something like that might be kind here, too.
Though I suppose we could continue the conversation on the rspec list.