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
Default code path doesn't appear to handle fork correctly? #371
Comments
pid = Process.pid
SimpleCov.at_exit do
SimpleCov.result.format! if Process.pid == pid
end I like that. |
are you using a merge timeout? |
What do you mean? Sent from my phone.
|
Would you paste your simplecov config? (How you require, configure, start it) |
My solution for this was to add |
I'm up for a PR |
Mostly trying to think if that would break anything. The Coverage module already doesn't actually work across a fork, so I think it should be safe in all cases? |
Yes, I think that would be a good change - although maybe we can wrap the top level pid under SimpleCov.pid so we don't get weird interferences |
I had to do this.
https://gist.github.com/clicube/5017378
This removed what appeared to be superfluous output:
multiple times per run.
Perhaps this should be the default behaviour?
The text was updated successfully, but these errors were encountered: