RubyMine Unit tests - Test Framework quit unexpectedly

后端 未结 8 742
感动是毒
感动是毒 2020-12-30 01:00

When I try to run the tests from within RubyMine I have an issue. But what is strange is that it work fine when I run the tests from the command line.

\"Test

相关标签:
8条回答
  • 2020-12-30 01:44

    I had the same issue and I fixed this by removing 'guard-minitest' from Gemfile

    0 讨论(0)
  • 2020-12-30 01:50

    You should be sure that your test suite is running with RAILS_ENV=test

    For RubyMine you can set this up in Run > Edit Configurations.. > Choose test suite you want to run (i.e. spec: project_name) > Environment variables and there add variable mentioned above.

    0 讨论(0)
提交回复
热议问题