Skip to content

feature: allow step matches to be quickly validated #378

@sdbondi

Description

@sdbondi

Ensuring steps in feature files and in code match is error-prone and requires running the test until it gets to the step, then failing due to a mismatch.

I don't know if there is any way to do this currently, if not, please consider adding it. (Let me know if I can help)

Perhaps something off the top of my head:

  let cucumber_fut = MyWorld::cucumber()
     // Validates that each step matches a defined step. If not, the process exits immediately, reporting which step/s did not match.
      .enable_step_match_validation()
        // ...

I'm not sure if it would be a problem to have this turned on by default, in which case disable_step_match_validation would be more appropriate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or requesthelp wantedExtra attention is neededk::apiRelated to API (application interface)k::designRelated to overall design and/or architecture

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions