If you go in Run > Edit Configurations...


And select All Specs in <Your Project> you'll see Filename Mask: **/*_spec.rb

This means when you tell RubyMine to run "All Specs", it only runs files which match the regex.

Now when you add second file and you do require_relative to load the other one, so both the tests run.

 

rubymine配置 rspec

相关文章:

  • 2022-12-23
  • 2021-05-22
  • 2022-01-07
  • 2022-12-23
  • 2021-04-20
  • 2022-01-12
  • 2021-10-23
  • 2021-06-25
猜你喜欢
  • 2021-07-14
  • 2021-06-30
  • 2021-05-22
  • 2021-09-11
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案