ror.nvim
ror.nvim copied to clipboard
RSpec coverage and Spring
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 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.
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 👍