Sublime Text 3, rbenv, TestUnit, RubyTest and Spring correct configuation to get tests working

前端 未结 2 844
北恋
北恋 2021-01-24 05:10

So I\'ve setup RubyTest / Sublime Text 3 and that works fine. I\'m having trouble getting spring to work in RubyTest. There is this cryptic setting:

\"check_for_         


        
相关标签:
2条回答
  • 2021-01-24 05:31

    This will do the trick

    "run_ruby_unit_command": "export PATH=~/.rbenv/shims:$PATH; bin/rake test -Itest {relative_path}",
    "run_single_ruby_unit_command": "export PATH=~/.rbenv/shims:$PATH; bin/rake test {relative_path} {test_name}",
    
    0 讨论(0)
  • 2021-01-24 05:46

    I use this

    "run_ruby_unit_command": "spring rake test {relative_path}",
    "run_single_ruby_unit_command": "spring rake test {relative_path} {test_name}"
    
    0 讨论(0)
提交回复
热议问题