unit tests run in v2.01 but will not run in v2.02

I have had enormous trouble trying to grasp the run/debug configuration concept in rubymine.

I say that just as background.

However, I was able to get over this to the point where I could actually run the unit tests I had created, but at the expense of great time and effort.

When I downloaded v2.02, my unit tests stopped working.

I received errors in the Run-Models dialog indicating that 'no tests were run'.

In the details field of that dialog I got this output:

C:\Ruby\bin\ruby.exe -e STDOUT.sync=true;STDERR.sync=true;load($0=ARGV.shift) "C:/Program Files/Google/Google SketchUp 7/Plugins/trw/fta/tests/models_tests.rb"
Testing started at 9:05 PM ...
C:/Ruby/lib/ruby/gems/1.8/gems/test-unit-2.0.1/lib/test/unit/collector/descendant.rb:14:in `collect': uninitialized constant Test::Unit::TestCase::DESCENDANTS (NameError)
 from C:/Ruby/lib/ruby/gems/1.8/gems/test-unit-2.0.1/lib/test/unit/autorunner.rb:59
 from C:/Ruby/lib/ruby/gems/1.8/gems/test-unit-2.0.1/lib/test/unit/autorunner.rb:261:in `[]'
 from C:/Ruby/lib/ruby/gems/1.8/gems/test-unit-2.0.1/lib/test/unit/autorunner.rb:261:in `run'
 from C:/Ruby/lib/ruby/gems/1.8/gems/test-unit-2.0.1/lib/test/unit/autorunner.rb:44:in `run'
 from C:/Ruby/lib/ruby/1.8/test/unit.rb:278
 from -e:1
Empty test suite.

Process finished with exit code 1

After reviewing another post regarding the 'no tests were run' I encountered advice given to others regarding the versions of the SDK, and the gems.

From the perspective of a long-time user of MS Visual Studio, (granting the differential in price and age) I find all these configuration issues to be extremely 'loose' in their exposure in the Ruby Mine UI.

And in reading the help files on the topic, I find that there are large areas of concepts that are assumed as foundation knowledge.

Rather than directing me to enormous basic information for research, I would appreciate a little more help from the UI to get my project into shape and working.

Where can I find a succinct explanation of how these various references are handled and managed in RubyMine?


1 comment
Comment actions Permalink

Hello Kimball,

RubyMine 2.0x both doesn't support test-unit gem for Ruby 1.8.x, only Test::Unit bundled in Ruby interpreter. You may try our RubyMine 2.5 alpha builds - http://confluence.jetbrains.net/display/RUBYDEV/RubyMine+EAP


Please sign in to leave a comment.