Code coverage showing 0% in rubymine but SimpleCov is generating reports


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!

1 comment


Could you please check whether you manage to reproduce it with our sample app:

I checked it in RubyMine 2022.2.2 RC and it worked fine.


Please sign in to leave a comment.