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

Fix final cuke failures #487

Merged
merged 4 commits into from
Sep 4, 2017
Merged

Fix final cuke failures #487

merged 4 commits into from
Sep 4, 2017

Conversation

mvz
Copy link
Contributor

@mvz mvz commented Sep 3, 2017

Summary

Fixes the remaining cucumber scenarios.

Details

  • Ensures at least one command is stopped before checking its exit status. Also updates the behavior described in the corresponding cucumber feature.
  • Adjust the should( not)? (pass|fail) steps to do the same.
  • Fix the aruba version matcher in the build-aruba feature.
  • Fix the fixture feature not cause syntax errors and also actually run specs in each scenario.

Motivation and Context

This final change should make the full cucumber suite pass.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • Documentation fix

@mvz
Copy link
Contributor Author

mvz commented Sep 4, 2017

This did not have the intended result on Travis. I'm going to investigate.

@mvz mvz changed the title Fix final cuke failures [WIP] Fix final cuke failures Sep 4, 2017
mvz added 4 commits September 4, 2017 09:55
This avoids the case where no command was stopped yet. This also updates
the documented behavior in the cucumber feature.
- Create a file picked up by rspec in each scenario
- Fix before :each syntax to work on Ruby < 2.4
- Create correct fixture file in each scenario
@mvz mvz changed the title [WIP] Fix final cuke failures Fix final cuke failures Sep 4, 2017
@mvz
Copy link
Contributor Author

mvz commented Sep 4, 2017

All relevant builds are green!

@mvz mvz requested a review from maxmeyer September 4, 2017 09:44
@mvz
Copy link
Contributor Author

mvz commented Sep 4, 2017

After this, I want to tackle #432.

@maxmeyer maxmeyer merged commit 6820ab3 into cucumber:master Sep 4, 2017
@aslakhellesoy
Copy link
Contributor

Hi @mvz,

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:

  • ✅ Continue to use branches and pull requests. When someone on the core team approves a pull request (yours or someone else's), you're welcome to merge it yourself.
  • 💚 Commit to setting a good example by following and upholding our code of conduct in your interactions with other collaborators and users.
  • 💬 Join the community Slack channel to meet the rest of the team and make yourself at home.
  • ℹ️ Don't feel obliged to help, just do what you can if you have the time and the energy.
  • 🙋 Ask if you need anything. We're looking for feedback about how to make the project more welcoming, so please tell us!

On behalf of the Cucumber core team,
Aslak Hellesøy
Creator of Cucumber

@maxmeyer
Copy link
Member

maxmeyer commented Sep 4, 2017

But besides the comment I'm happy you fixed things! Thanks a lot!

@mvz
Copy link
Contributor Author

mvz commented Sep 4, 2017

stop_all_commands is too drastic in this case, since some scenarios explicitly stop one command and check that command's exit status.

@mvz mvz deleted the fix-final-cuke-failures branch September 4, 2017 16:47
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

Successfully merging this pull request may close these issues.

3 participants