This repository has been archived by the owner on May 28, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 220
PrettyFormatter options #331
Open
muhqu
wants to merge
7
commits into
cucumber-attic:master
Choose a base branch
from
muhqu:pretty-formatter-options
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
e.g. | title | traded | effective | | Required Forecast | 53781.89 | 53781.89 | | Eligible Forecast | 10756437.88 | 10756437.88 |
e.g. | Given I have ... | When I do ... | And I do ... | Then I should ...
e.g. | Given there are 12 cucumbers | When I eat 3 cucumbers | Then I should have 9 cucumbers | | When I eat 2 cucumbers | Then I should have 7 cucumbers | | When I eat 1 cucumbers | Then I should have 6 cucumbers
4 tasks
@aslakhellesoy any chance to get this one merged? It would be great to get this into a release so I don't have to make a copy of the |
Probably not I'm afraid. We're focussing on Gherkin 3 now: https://groups.google.com/d/msg/cukes/YLKsqbBMBoI/KR_Zq6DBgJwJ We'll move the formatting to Cucumber - I'll keep this in mind when we get there. I've been wanting the same thing myself! |
@aslakhellesoy oh, hm k. …maybe I can contribute to Gherkin 3 as well. I've written a gherkin parser in golang. |
@muhqu oh that would be fantastic! Let me know if anything is missing from the contribution guide! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds 3 optional formatting options to the
PrettyFormatter
. All options default tofalse
to not change the formatting result unless explicitly enabled.right-align numeric values in tables
center-align step keywords
preserve a single blank line between steps