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 format option splitter problems #2315

Merged

Conversation

yusuke-noda
Copy link
Contributor

Referring to #2178

🤔 What's changed?

Reimplement OptionSplitter and fix the issue discussed in #2178 .

⚡️ What's your motivation?

Fixes #2178

🏷️ What kind of change is this?

  • 🐛 Bug fix (non-breaking change which fixes a defect)
  • ⚡ New feature (non-breaking change which adds new behaviour)

♻️ Anything particular you want feedback on?

📋 Checklist:

  • I agree to respect and uphold the Cucumber Community Code of Conduct
  • I've changed the behaviour of the code
    • I have added/updated tests to cover my changes.
  • My change requires a change to the documentation.
    • I have updated the documentation accordingly.
  • Users should know about my change
    • I have added an entry to the "Unreleased" section of the CHANGELOG, linking to this pull request.

This text was originally generated from a template, then edited by hand. You can modify the template here.

Reimplement OptionSplitter and fix the issue discussed in cucumber#2178
@coveralls
Copy link

coveralls commented Aug 21, 2023

Coverage Status

coverage: 98.465% (+0.007%) from 98.458% when pulling 49fc84d on yusuke-noda:fix-2178-format-option-splitter into 89ec3b6 on cucumber:main.

@davidjgoss davidjgoss mentioned this pull request Aug 31, 2023
7 tasks
@davidjgoss davidjgoss self-requested a review September 6, 2023 09:42
@davidjgoss
Copy link
Contributor

davidjgoss commented Sep 6, 2023

Thanks for doing this @yusuke-noda!

Relatedly, I released a change with 9.5.1 so that in a config file you can provide a two-item array directly instead of a single string to avoid the ambiguity of the splitting. But of course we'll still always need the splitting logic for the CLI.

I'll fully review and merge this shortly. Before releasing I might also add some deprecation warnings, because what I'd like to do long term is enforce quoting either side of the string if it contains colons, so we don't have to do such clever splitting with awareness of all the platform quirks.

@davidjgoss davidjgoss merged commit c1784c4 into cucumber:main Oct 4, 2023
10 checks passed
@aslakhellesoy
Copy link
Contributor

Hi @yusuke-noda,

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

@davidjgoss
Copy link
Contributor

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.

format option splitter problems
4 participants