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.
Is it possible for "Go to Test" to be enhanced so that it will work with view templates other than ERB? If I nav to the spec for my HAML files I get a message saying "Opposite file not found." Which is clearly wrong, since everything is where it should be. I'm using RSpec so I don't know if this is a factor, but it seems like just adding/dropping the "_spec" should be all that's needed to nav to the opposing file. Navigating to specs for models and controllers works fine.
Another case where it would be nice for "Go to Test" to be enabled is RSpec for plain Ruby (non-Rails) apps. Currently, Ctrl-Shift-T from the implementation file returns "Opposite file not found."
Undees, can you show the paths to your files (the tested file and its corresponding spec) ? This is supposed to work, including in non-Rails projects.
Hi, Tor. Thanks for the quick response. My files are just in the default paths NetBeans uses when I right-click and do a New Ruby Class or New RSpec file, so lib/foo.rb and test/foo_spec.rb. I tried a couple of permutations, like renaming the test/ directory to spec/, but it didn't seem to fix it.