-
Notifications
You must be signed in to change notification settings - Fork 553
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
Simplecov fails to exit on rspec suite completion in Ruby 2.6.3 #740
Comments
Faced same issue, only thing that helped is rolling back to simplecov 0.16.1 |
Hi there, thanks for the report 💚 Sorry I didn't have much time for OSS the last couple of months/weeks so I missed this 😞 It got fixed in the mean time in #746 and I released 0.17.1 to match. Please upgrade and let me know if it's really fixed. |
@cnicolaou that is really discomforting - would you happen to have an example repo you could share or something? Are you using parallel tests? For most other people 0.17.1 seems to work so this is kinda scary for me :) |
@PragTob I take back what I have shared previously. The error that happened was because i had duplicate configurations for SimpleCov, PS: I am still using I apologise for this inaccurate bug reporting, please feel free to close the ticket again. |
@cnicolaou no worries and thank you :) |
I am also having this issue. However, we are using Ruby 3.3.0. SimpleCov version is at 0.22.0. I am not sure what's causing this. Any ideas what is causing this? I should add that SimpleCov properly generates coverage reports when specifying files or folders. but running |
An update; it seems that SimpleCov hangs when there's a lot of tests included in one command. I tried adding folders one by one, then when I added I'm not really sure what to do here anymore. |
So after upgrading the Ruby version used with my app from 2.5.5 to 2.6.3, simplecov 0.17.0 now hangs silently and permanently at the end of my test suite.
I'm running Ruby 2.6.3 and Rails 5.2.3.
As for what else may be relevant, I have capybara 3.26.0 running and I'm using RSpec.
Here's an example of the output I get:
Then that's where it hangs. One think I tried is adding "use_merging false" to my SimpleCov.start block, as I saw that suggested out and about. No luck for me.
Any help is greatly appreciated!
The text was updated successfully, but these errors were encountered: