Skip to content

Get rid of ScenarioScopedΒ #390

Open
Open
@gaeljw

Description

@gaeljw

πŸ€” What's the problem you've observed?

Cucumber Java 7.22 is deprecating ScenarioScoped (cucumber/cucumber-jvm#2971).

Our codebase rely on it, because all our steps definitions are closures.

✨ Do you have a proposal for making it better?

Get inspiration from the changes done to cucumber-java8 in cucumber/cucumber-jvm#2971.

This requires some important changes mainly because most of our codebase is immutable and applying the same changes as for cucumber-java8 would mean that we have to be able to change the "body" of a AbstractGlueDefinition instance.

πŸ“š Any additional context?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions