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

feature request: Use different colour for step arguments in terminal output #604

Open
jamiekt opened this issue Mar 15, 2023 · 0 comments
Open

Comments

@jamiekt
Copy link

jamiekt commented Mar 15, 2023

I have a feature defined like so:

Feature: Eating bananas
    Scenario Outline: Outlined given, when, then
        Given there are <start> bananas
        When I eat <eat> bananas
        Then I should have <left> bananas

        Examples:
        | start | eat | left |
        |  12   |  5  |  7   |
        |  12   |  3  |  9   |

The terminal output (pytest --gherkin-terminal-reporter) appears like so:

Feature: Eating bananas
    Scenario: Outlined given, when, then
        Given there are 12 bananas
        When I eat 5 bananas
        Then I should have 7 bananas
    PASSED

Feature: Eating bananas
    Scenario: Outlined given, when, then
        Given there are 12 bananas
        When I eat 3 bananas
        Then I should have 9 bananas
    PASSED

image

It would be rather nice if the step argument values (12 ,5, 7 then 12, 3, 9 in the examples above) appeared in a different colour.

I don't know how one should raise feature requests for this project so I hope this suffices.

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

No branches or pull requests

1 participant