ror.nvim icon indicating copy to clipboard operation
ror.nvim copied to clipboard

RSpec coverage and Spring

Open borisrorsvort opened this issue 1 year ago • 2 comments

It seems that simplecov kinda completely fails to generate coverage when spring is running. Many people suggested to run DISABLE_SPRING=1 rspec or to set it in your .zshrc Is there a way we could pass DISABLE_SPRING when running ror.test so we get the updated coverage?

borisrorsvort avatar Apr 27 '23 09:04 borisrorsvort

@borisrorsvort Can you give me more context on how simplecov fails to generate the coverage? In one of my project, I am using spring, rspec and simplecov and the coverage seems to generate just fine in that project.

weizheheng avatar Apr 27 '23 11:04 weizheheng

Sometimes depends on your version of rails as well, sometimes it’s when you have parallel test activated,… But as a general thing, it would be nice to be able to overwrite the test command you use to run test in our config 👍

borisrorsvort avatar Apr 27 '23 15:04 borisrorsvort