"No tests were found" always shows up, even for running the most basic test. I created a new project with one controller, model, and test to verify this problem.
On Snow Leopard 10.6.5, Ruby 1.9.2-p0, RVM 1.1.0, RubyMine 3.0 (build RM-97.125), Rails 3.0.3.
I created a new gemset under rvm. Then a new rails 3 project in RubyMine, set to run in my new 'interpreter'.
I installed the bundler gem, then ran bundle install.
I created a single controller, model, and test using rails generate scaffold.
The test wouldn't run. "Error running test_the_truth. RubyMine requires 'test-unit' gem for Ruby SDK >= 1.9. Please attach it."
(And, gosh, that's an awful error in itself. Why wouldn't your IDE be self-reliant?)
I installed test-unit, both versions 2.1.2 and 1.2.3 (separately). Either way, the result of running the test was "No tests were found".
And, actually, the console reveals the test was successful:
/Users/cmg/.rvm/rubies/ruby-1.9.2-p0/bin/ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) -Itest /Users/cmg/RubymineProjects/TestTest/test/unit/user_test.rb --name=test_the_truth
Testing started at 11:27 PM ...
Loaded suite /Users/cmg/RubymineProjects/TestTest/test/unit/user_test
Finished in 0.057463 seconds.
1 tests, 1 assertions, 0 failures, 0 errors, 0 skips
Test run options: --seed 33855 --name "test_the_truth"
Empty test suite.
Process finished with exit code 0
But the test panel shows failure in red: No tests were found.
Please help. This can't be the desired state of things.