-
Notifications
You must be signed in to change notification settings - Fork 254
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
Pretty Print when using rules (#440) #480
Conversation
Codecov Report
@@ Coverage Diff @@
## main #480 +/- ##
==========================================
+ Coverage 81.42% 81.72% +0.29%
==========================================
Files 27 27
Lines 2197 2232 +35
==========================================
+ Hits 1789 1824 +35
Misses 312 312
Partials 96 96
Continue to review full report at Codecov.
|
This looks great, thanks! There are some nit-picks with the indentation in the feature file but otherwise I'm sold on it. Are you pretty confident it should work if there's a scenario outline instead of a scenario inside the rule? I can't tell from reading the code whether that's a risk or not. I'm all in favour of small incremental PRs. I guess to fully implement Rules we will still want to...
|
I added a test for a rule with a scenario outline as well. |
Looks good to me! Any feedback @vearutop? |
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, |
Welcome to the team @dumpsterfireproject! You're now able to push directly to branches within the https://github.com/cucumber/godog repo, so no need to use your own fork now unless you particularly want to. This also means you have the permissions to review and merge other people's pull requests. If you have any time or inclination for that, it would be greatly appreciated! |
Oops, we forgot to update the |
Sure, I'll get the CHANGELOG.md updated. Thanks. |
Add bug fix from PR #480 to CHANGELOG.md.
Add bug fix from PR #480 to CHANGELOG.md.
🤔 What's changed?
⚡️ What's your motivation?
Fixes #440
🏷️ What kind of change is this?
♻️ Anything particular you want feedback on?
The description in #440 focused on the pretty formatter. I kept the scope for this PR limited to the pretty formatter. I can add tests and look into any issues that come up with rules with the other formatters. My thought was to limit scope for this PR to just the pretty formatter, but if you want a different approach, just let me know. If there are additional tests that are needed, please let me know that as well.
📋 Checklist: