-
Notifications
You must be signed in to change notification settings - Fork 563
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
warning: instance variable @enable_for_subprocesses not initialized #926
Comments
👋 Hi there, thanks for the report. Curious. We're supposed to catch warnings like that in CI but maybe in the CI migration something went wrong. Dang. |
yeah emitting warnings is only tested in rspec not in cucumber and the feature was only covered by cukes. Sorry about that :) |
No problems, thanks for the heads-up Apologies for not having submitted a PR, I think you may know if |
Data point... I just got bitten by this too. |
Hey, thanks for all your work on a brilliant useful tool! Can we upgrade to specific version for now to get rid of the warning, or is a fix still in the works? We see the error in minitest with these gems installed on the project. Happy to try a pre-release test or pitch in with a solution if you can point me in the right direction.
task:
test_helper.rb:
|
Hey there, sorry I haven't managed to dedicate a lot of time to OSS lately. First fix didn't go fast as we had lots of fun with the CI being broken.... aiming for a release some time next week depending on how it goes. Cheers, |
Thanks for the update. Anything I can help with on the CI? I've setup CIs using Jenkins, CodeBuild, gitlab runners etc so might be able to pitch in if that's useful. |
@EdwardIII nah but thanks. We just had CI fail randomly on acceptance test related specs which presumably was due to a Chrome upgrade that broke something. See #925 |
Thanks, also the feature test to make sure that there are no warnings is a great addition |
Yeah I always wanted to have something like it... we are already checking it for the rspec unit test (I wrote essentially a small library for this) but the thing wasn't unit tested. I was never sure how to correctly implement it as a feature test as ideally I'd want to check it in all tests (just like rspec) but I realized that one broad high level test running for most of the paths is better than nothing 😁 One of the reasons this took so long, because I wanted to have it covered. Sorry and here's to no more such problems! |
Nice :-) Thank you for doing this. I look forward to moving to this on the next release. |
Hi,
I would like to submit a PR by myself but I cannot find time at the moment and since I'm not using the subprocess functionality it would be hard to debug
#881 introduced a warning on variable
@enable_for_subprocesses
, which is going to be used even when it is not initialized (value is nil
).I don't know if it is correct to use the same or-equal approach as
at_exit
configurationYou can see the warning here: https://travis-ci.org/github/tagliala/coveralls-ruby-reborn/jobs/724960704
Log Snippet
The text was updated successfully, but these errors were encountered: