I've been experiencing a problem running unit tests in NetBeans 6.9.1.
rake test::unit
Test-unit gem not found, falling back to default test-unit ...
The problem is n开发者_如何学Pythonot a showstopper, because after that message all the tests run and I can see the results. I am just curious what might be wrong with my development environment. When I run my unit tests from command line that message doesn't appear.
My platform is:
Windows 7 x64
ruby 1.8.7 (2010-01-10 patchlevel 249) [i386-mingw32]
Rails 2.3.8
Thanks!
Go to Tools/Ruby Gems and see if the test-unit gem is or isn't installed. Even after I installed NetBeans and got the updates the test-unit gem was not included. I had to download it(new gems). If your install shows that you have test-unit the only other thing I can think of is to try un-installing it and re-installing it. Good luck.
Product Version: NetBeans IDE 6.9.1 (Build 201007282301) Java: 1.6.0_20; OpenJDK 64-Bit Server VM 19.0-b09 System: Linux version 2.6.35-25-generic running on amd64; UTF-8; en_US (nb)
精彩评论