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.
The default unit test class name of "Test" is invalid. Trying to run a test created with the default name results in the error: /Users/bleonard/Temp/Blog/test/test.rb:11: Test is not a class (TypeError) from /Users/bleonard/Temp/Blog/test/test.rb:9:in `require' from /Users/bleonard/Temp/Blog/test/test.rb:9 To be consistent, I would change it to "TestNewClass", which would correctly create a test for the default name when a new class is created, "NewClass".
Should be easy to fix.
i'll take it.
fixed in ruby-main de2d09eb0483
Integrated into 'main-golden', will be available in build *200908311509* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/de2d09eb0483 User: Tomas Musil <musilt2@netbeans.org> Log: #121735: Default Unit Test Class Name of "Test" is Invalid