-
-
Notifications
You must be signed in to change notification settings - Fork 161
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
fix @no-clobber breaking process management (closes #529
Conversation
@no-clobber does not call Setup#call *at all*, which causes the process monitor to not be listening to process events
I'll give the testing options some thought. |
The implementation seems good, in any case 👍 |
I think the best option is to extend the existing scenario for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've tested this with updated scenarios and it works like a charm. I'll include those scenerios and merge this.
Hi @doudou, Thanks for your making your first contribution to Cucumber, and welcome to the Cucumber committers team! You can now push directly to this repo and all other repos under the cucumber organization! 🍾 In return for this generous offer we hope you will:
On behalf of the Cucumber core team, |
I'll create another PR for the |
@mvz Thanks for taking this into Aruba! |
@doudou Awesome! Thanks! |
Summary
When a scenario has @no-clobber, Aruba would not call Setup#call at all, which causes the
process monitor to not be listening to process events.
Details
Changed Setup#call to accept a 'clobber' argument and set it according to whether there is @no-clobber or ~@no-clobber.
Motivation and Context
Closes #527
How Has This Been Tested?
THERE ARE NO TESTS YET I'm just not sure where it is appropriate to test for this. It's weird to do this in a cucumber feature, as it's testing a regression and not a feature, but then we should check that @no-clobber and process monitoring work (which can only be done in cucumber). It's going to look weird in the cucumber.pro site, no ?
Types of changes
Checklist: