Code coverage showing 0% in rubymine but SimpleCov is generating reports
Hello:
I have a project that used to work with code coverage in RubyMine, but, for some reason, now is no longer showing coverage. For example, the `app/controllers` folder is showing 0% code coverage in RubyMine, but the SimpleCov `index.html` that is generated shows 94.6% coverage.
When SimpleCov runs, which it is doing from inside RubyMine, it's showing a series of .json files that appear to have code coverage information in them.
I'm wondering if there is something I did in the configuration that may have messed up code coverage settings in RubyMine. Specifically, I have a `simplecov_json_formatter` gem installed system-wide that I don't recall installing. Could this be the source of the issue for RubyMine?
I'm using RubyMine 2022.1.2 and simplecov 0.21.2.
Please let me know what additional information you need to help me troubleshoot this. Thank you!
请先登录再写评论。
Hello,
Could you please check whether you manage to reproduce it with our sample app:
https://github.com/JetBrains/sample_rails_app
I checked it in RubyMine 2022.2.2 RC and it worked fine.