MatthieuGD MatthieuGD - 1 year ago 60
Ruby Question

Test::unit and Rubymine "No tests were found"

I'm a newbie in Ruby and I try to use the test::unit framework with the RubyMine IDE (3.1.1).

I don't understand the note about test::unit here:
http://www.jetbrains.com/ruby/webhelp/test-unit-special-note.html

Specially this instruction: "Include test-unit gem in your Gemfile." I use gem install "test-unit" and attach it to my project but I still got 0 tests and the error message "No tests were found"

Answer Source

Make sure that you have a Gemfile in your project root which contains:

gem 'test-unit'
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download