Skip to content

Ability to get the total count of scenarios to be executed, much like steps can be done currentlyΒ #2591

@Lorondos

Description

@Lorondos

πŸ€” What's the problem you're trying to solve?

Hey there, I want to be able to get the total number of scenarios for execution and log this in a BeforeAll Hook please.

✨ What's your proposed solution?

Some sort of solution that allows you to get a count of the total number of pickles/scenarios, much like how you can get pickle.steps.length etc

⛏ Have you considered any alternatives or workarounds?

Possiblely a script to try and identify all unique scenarios in feature files and store the number as a global env property or a custom formatter, too much effort for something that would be more for aesthetics and informational purposes.

πŸ“š Any additional context?

No response

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