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.
Product Version = NetBeans IDE 6.9.1 (Build 201011082200) Operating System = Linux version 2.6.29.6 running on amd64 Java; VM; Vendor = 1.6.0_17 Runtime = Java HotSpot(TM) 64-Bit Server VM 14.3-b01 Trying to use code coverage tool to write functional tests for a rails controller. I open controller, see method highlighted in red (means untested), then proceed to write test. Open test file, write code, go back to controller, hit CTRL-F6 to run. New test happens to use method defined in a library I forgot to load. Output says all tests pass (8) but code remains red. Restart netbeans same problem. Run All Tests and then I finally get error about undeclared method. Add include statement and all is fine. If I comment out include I can reproduce the problem. Looks like when ruby test throws NoMethodError netbeans gets confused and reports it as a pass.