RubyMine doesn't play well with Turn gem
RubyMine Version: 3.2.2 & 3.2.4
Ruby Version: Jruby 1.6.4, running in 1.9.2 mode
Rails Version: 3.1.0
Problem: RubyMine requires test-unit gem, which then stomps on turn's pretty test output
Steps to recreate: Spin up a new Rails 3.1 app, create a scaffold for an object, run migrations, then run tests. You'll then be warned that you need to include the 'test-unit' gem in your gemfile. Add the gem, bundle install, then re-run tests. You'll get the old-style test output.
We have a shop which is mixed usage: half prefer RubyMine, half work the command line & text editor. I don't mind when RubyMine requires additional gems to make it's features more robust, like... say: ruby-debug-ide. However, it is a problem when said gems step on (aka reduce functionality) for command line users.
Is there a way to allow RubyMine to use the test-unit gem (until it fully supports rails 3.1 functionality) while not affecting command line users?
standard test::unit output:
Started
F
Failure:
test_foo(FundTest) [test/unit/fund_test.rb:21]:
Flunked.
Finished in 0.078 seconds.
5 tests, 16 assertions, 1 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
0% passed
64.10 tests/s, 205.13 assertions/s
org.jruby.exceptions.RaiseException: (SystemExit) exit
rake aborted!
Command failed with status (-1): [C:/DEV/programs/jruby-1.6.4/bin/jruby.exe ...]
Tasks: TOP => test:units
(See full trace by running task with --trace)
rails 3.1 turn output:
ManagerTest:
PASS that managers have a name and age (0.00s)
PASS that we can find joe in managers collection (0.05s)
Finished in 0.062000 seconds.
2 tests, 8 assertions, 0 failures, 0 errors, 0 skips
Please sign in to leave a comment.