Skip to content

The pretty formatter does not report rules #1547

Open
@aurelien-reeves

Description

@aurelien-reeves

From a Slack conversation here: https://cucumberbdd.slack.com/archives/C7676D8GN/p1622078810002700

When running $ cucumber --format pretty on a file that uses the “Rule” keyword, with Cucumber 6, should I be seeing the Rules print out to the console along with the Features and Scenarios? I have my file formatted like this:

Feature: ...
  Rule: ...
    Scenario: ...
      Given
      When
      Then

But I am not seeing the Rules print out to the console.

Note: the pretty formatter is hard to maintain

Suggestion: having the pretty formatter rewritten into the monorepo to use shared testdata and have a consistent behavior in different languages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    🏦 debtTech debt🐛 bugDefect / Bug⌛ staleWill soon be closed by stalebot unless there is activity✅ acceptedThe core team has agreed that it is a good idea to fix this

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions