Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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