This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 90869 [details] Screenshot of IDE with test window displayed. [200911091156] [JDK1.6.0u17] [Built in JRuby 1.3.1] [Rails 2.3.4] When running "rake test" with the RAILS_ENV forced to "test", errors running the unit tests are swallowed. All that is displayed is "Errors running tests:units!" Here is the output content from the test (right pane of test window) Test-unit version : 2.0.5 loaded Fast Debugger (ruby-debug-ide 0.4.6) listens on localhost:38544 (in /home/esmith/NetBeansProjects/TestApp) /home/esmith/Apps/netbeans-dev-200911091156/ruby2/jruby-1.3.1/bin/jruby -I"lib:test" -r"/home/esmith/Apps/netbeans-dev-200911091156/ruby2/nb_test_runner.rb" "/home/esmith/Apps/netbeans-dev-200911091156/ruby2/jruby-1.3.1/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/functional/a_recs_controller_test.rb" "test/functional/b_recs_controller_test.rb" "test/functional/c_recs_controller_test.rb" "test/functional/d_recs_controller_test.rb" /home/esmith/Apps/netbeans-dev-200911091156/ruby2/jruby-1.3.1/bin/jruby -I"lib:test" -r"/home/esmith/Apps/netbeans-dev-200911091156/ruby2/nb_test_runner.rb" "/home/esmith/Apps/netbeans-dev-200911091156/ruby2/jruby-1.3.1/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" Errors running test:units! Finished in 1.801 seconds. 28 tests, 0 failures, 0 errors See the screenshot for the complete window view. Notice that 28 tests were run with 0 failures and 0 errors; however, the system says "Errors running test:units!" No tests from the "test/unit" folder are loaded or executed.
Created attachment 90870 [details] IDE Log File
I guess the debugger might swallow part of the output here, at least according to the log the test runner didn't get any other output from the test run. What is the output if you run the same command w/o the debugger? And what is it when run from the command line w/o the NB test runner, i.e. (in the project dir): /home/esmith/Apps/netbeans-dev-200911091156/ruby2/jruby-1.3.1/bin/jruby -I"lib:test" -r"/home/esmith/Apps/netbeans-dev-200911091156/ruby2/jruby-1.3.1/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/functional/a_recs_controller_test.rb" "test/functional/b_recs_controller_test.rb" "test/functional/c_recs_controller_test.rb" "test/functional/d_recs_controller_test.rb" /home/esmith/Apps/netbeans-dev-200911091156/ruby2/jruby-1.3.1/bin/jruby -I"lib:test"
This is now prohibiting me from using NetBeans to develop and debug my application.
Ignore last comment. Issuezilla moved me to my next error.
Created attachment 91637 [details] IDE Log File with timeout of 10000
Again, please ignore the attachment. IZ moved me to the next bug prior to attaching.
Marking as incomplete for now, please see my previous comment and reopen if this is still reproducible. Thanks.