Skip to content

Serenity Cucumber does not recognise JUnit TestRules #221

Closed
@johndeverall

Description

Serenity does not seem to recognise JUnit Test Rules. It does however recognise JUnit TestClass Rules.

I have provided an example happy case and example failure case.

@wakaleo - these examples are mostly demo code you wrote. Is this a bug in Serenity or are you able to quickly point out what I'm doing wrong from these test cases? Also @ScottDennison I see you wrote some TestRule code back in Juneish? I can't seem to get your Rules to work either. You might have an idea about this?

This issue also relates to this stackoverflow question.

Activity

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

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