SimpleCov coverage generated using RubyMine with one tab
MacOS Monterey 12.6,
RubyMine 2022.2.3,
Rails 7, ruby 3.1
simplecov (0.21.1),
test framework: rspec
Is there any way to pass simplecov 'rails' profile when running coverage from RM? If yes, please guide to exact location.
# spec_helper.rb
require 'simplecov'
SimpleCov.start 'rails'
With above configuration and running coverage with commands:
$ rspec spec
$ open coverage/index.html
Result is OK:
But when run coverage from RM, it generates report with only "All Files" tab.
When run from command line without "rails" profile in configuration, it will return one tab too:
# spec_helper.rb
require 'simplecov'
SimpleCov.start
Posted question also on stackoverflow.
请先登录再写评论。
At the moment it's not possible, here's the corresponding request:
https://youtrack.jetbrains.com/issue/RUBY-30492/SimpleCov-coverage-report-generated-by-IDE-contains-only-one-tab-for-all-files
so could you please add your vote (https://intellij-support.jetbrains.com/hc/en-us/articles/207241135-How-to-follow-YouTrack-issues-and-receive-notifications) to it