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.
(sorry for the bad choice of component, didn't know where this belongs) When trying to invoke the test runner in 6.5 Beta via the project context menu, test runner reports the following: Loaded suite C:/Program Files/NetBeans 6.5 Beta/ruby2/nb_test_mediator Started Finished in 0.0 seconds. 0 tests, 0 assertions, 0 failures, 0 errors There are over 800 tests in the project. If I open a test file and execute the "Test file" context menu command, the test runner will work and show failing/passing tests. Environment: Product Version: NetBeans IDE 6.5 Beta (Build 200808111757) Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05 System: Windows XP version 5.1 running on x86; Cp1252; sv_SE (nb) Userdir: C:\Documents and Settings\majeli\.netbeans\6.5beta
(changing component to ruby/testing) Additional info about env: * Ruby 1.8.6 p111
The Test action in the context menu should run the rake test task, so does running rake test from the command line run those tests normally? Could you please also enable more detailed logging and then attach the IDE log file here as described at http://wiki.netbeans.org/FaqRubyNBLogging? Thanks!
Created attachment 67495 [details] IDE log test runner
After restarting the IDE, I'm now getting an error instead: "c:\ruby\bin\ruby.exe: No such file or directory -- Files/NetBeans (LoadError) " Could this be related to: http://www.netbeans.org/issues/show_bug.cgi?id=140339 ? Also, i've attached the IDE log with debugging enabled. Cheers, b0bben
Additional comment: rake test from the commandline works, as does autotest.
Thanks, that helped. I've committed a fix for this, please give it a try when/if you have the chance. There should be an automatic notification here once the fix has been integrated, after that please grab a continuous build for testing -- see http://wiki.netbeans.org/RubyInstallation#section-RubyInstallation-HowDoIGetTheContinuousBuilds for more info. The problem was caused by spaces in the path the NB's test runner, as a workaround you can move NB to a directory without spaces in the name. Changeset d18a5d184d09.