Hey everyone,
I’m running JRuby 1.5.1 and Shoulda with Test::Unit. I’m getting some
weird duplication on my test output that is cluttering up my screen and
making it harder to read the test results. I’m wondering if anyone
know’s why it might be doing this and how I can fix it so that it isn’t
displayed more than once, if at all. The part that is duplicating is
shown below and is after the “6 tests, 6 assertions, 0 failures, 0
errors” part of the test result output:
[me@my_machine my_app]$ rake test
(in /home/me/my_app)
/home/me/jruby-1.5.1/bin/jruby -I"lib:test"
“/home/me/jruby-1.5.1/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb”
“test/unit/topic_test.rb”
/home/me/jruby-1.5.1/lib/ruby/gems/1.8/gems/ruby-debug-base-0.10.3.2-java/lib/ruby-debug-base.rb:214
warning: tracing (e.g. set_trace_func) will not capture all events
without --debug flag
Loaded suite
/home/me/jruby-1.5.1/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
…
Finished in 0.328 seconds.
6 tests, 6 assertions, 0 failures, 0 errors
/home/me/jruby-1.5.1/bin/jruby -I"lib:test"
“/home/me/jruby-1.5.1/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb”
/home/me/jruby-1.5.1/bin/jruby -I"lib:test"
“/home/me/jruby-1.5.1/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb”
Anybody got any ideas? Also, is there anyway to remove the warning:
“tracing will not capture all events without the --debug flag”?
Thanks for the help!
Cheers,
Eric