Hello all.
I love rspec 2’s new output. And have a tiny suggestion for it.
Currently a failure trace looks like this by default:
- SensibleSwing::MainWindow should not show the normal buttons in
create mode
Failure/Error: MainWindow.new.buttons.length.should == 12
expected: 12
got: 15 (using ==)org/jruby/RubyProc.java:268:in `call’
spec\sensible_cinema_gui.spec.rb:412:in `SensibleSwing’
org/jruby/RubyKernel.java:1958:in `instance_eval’
org/jruby/RubyArray.java:2336:in `collect’
org/jruby/RubyArray.java:2336:in `collect’
The difficulty I have in this is that it’s hard to piece through and
pick out the failure line (sensible_cinema_gui.spec.rb:412 in this case,
but it’s a bit crowded in there).
Feature request: have the output look like this:
- SensibleSwing::MainWindow should not show the normal buttons in
create mode
Failure/Error: spec\sensible_cinema_gui.spec.rb:412
MainWindow.new.buttons.length.should == 12
expected: 12
got: 15 (using ==)org/jruby/RubyProc.java:268:in `call’
spec\sensible_cinema_gui.spec.rb:412:in `SensibleSwing’
org/jruby/RubyKernel.java:1958:in `instance_eval’
org/jruby/RubyArray.java:2336:in `collect’
org/jruby/RubyArray.java:2336:in `collect’
Or something along those lines?
Thoughts?
Thanks!
-roger-