Skip to content

Count examples from scenario outlines separately in output summary #364

Open
@sdht0

Description

@sdht0

Current example summary:

[Summary]
1 feature
85 scenarios (85 passed)
265 steps (265 passed)

The .feature file itself has 6 Scenarios and 5 Scenario Outlines with many examples each, all of which add up to the 85 count. However, counting all the examples separately makes it hard to quickly check overall how many of the 11 scenarios in the file are passing.

Can we change the output to consider examples separate from scenarios? Something like:

[Summary]
1 feature
11 scenarios (11 passed)
85 examples (85 passed)
265 steps (265 passed)

Here, Scenario Outlines are also counted as Scenarios and are marked as a pass only if all examples pass.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions