Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RSpec coverage and Spring #23

Open
borisrorsvort opened this issue Apr 27, 2023 · 2 comments
Open

RSpec coverage and Spring #23

borisrorsvort opened this issue Apr 27, 2023 · 2 comments

Comments

@borisrorsvort
Copy link

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?

@weizheheng
Copy link
Owner

@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.

@borisrorsvort
Copy link
Author

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 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants