Skip to content

Is it possible to use java-snapshot-testing with Cucumber (features and steps) and Junit4? #167

@maastha

Description

@maastha

Since Cucumber has its own test runner; annotating on the step class won't extend or change the cucumber test runner to be able to inject Expect expect instance variable.

Could you please share guidance/example of how to use this library in Cucumber steps?
Expect expect = Expect.of() requires a java.lang.reflect.Method method which I don't think is accessible in Cucumber steps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions