문제

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"

도움이 되었습니까?

해결책

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

gem 'test-unit'

다른 팁

There is another reason that can cause some scenario not to be recognized. If there is an scenario with the same name in other feature, it may cause your scenario not to be detected.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top