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.
Summary: | Test runner doesn't execute any test in RubyOnRails project | ||
---|---|---|---|
Product: | ruby | Reporter: | b0bben <b0bben> |
Component: | Testing | Assignee: | Erno Mononen <emononen> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | Keywords: | SPACE_IN_PATH |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | IDE log test runner |
Description
b0bben
2008-08-14 15:24:24 UTC
(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. |