Saturday, 15 June 2013

ruby on rails - How to make Rubymine working with minitest framework -



ruby on rails - How to make Rubymine working with minitest framework -

can't configure rubymine work minitest normally. time throws me exceptions

unable attach test reporter test framework or test framework quit unexpectedly

also, can't run test 1 (only test running working), because in case context not load , classes goes undetermined constants (nameerror: uninitialized constant <myvariabletype>).

i'm working rubymine 5 via windows 7. (ruby 1.9.3).

if know how configure i'll appreciate help.

ok, great! solve problems , rubymine working minitest.

the short instruction:

read this manual , stuff step step careful

if helps 'yohuu!!!' , dancing victorious jig, if still not working correctly goes step 3

add 'test-unit' gem gem file , update bundler.

when creating test not forget add together require 'test_helper' add together top of file.

important: test method names should start 'test_' pattern, test_my_supercool_method

upd 1: if utilize ruby 2.0, don't need utilize win32console gem on windows platform, if jetbrains doc should.

ruby-on-rails unit-testing rubymine minitest

No comments:

Post a Comment