This repository was archived by the owner on May 28, 2019. It is now read-only.
PrettyFormatter options#331
Open
muhqu wants to merge 7 commits into
Open
Conversation
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
Author
|
@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 |
Contributor
|
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! |
Author
|
@aslakhellesoy oh, hm k. …maybe I can contribute to Gherkin 3 as well. I've written a gherkin parser in golang. |
Contributor
|
@muhqu oh that would be fantastic! Let me know if anything is missing from the contribution guide! |
This file contains hidden or 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
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 tofalseto 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