Skip to content

JUnit runner does not distinguish between pending and ignored via Assume #1007

Closed
@RichardBradley

Description

@RichardBradley

JUnit tests can be marked as "ignored" via the Assume API. If an assumption fails, then JUnit will mark the test as "ignored". Tests in this state do not count as failures.

Cucumber tests can be in "pending" state if they have undefined steps. Tests in this state should count as a failure if "strict" is set.

The cucumber.api.junit.Cucumber JUnit test runner doies not distinguish between these two cases; both are either failures or not according to the "strict" setting.

I believe that the "strict setting should make "pending" tests a failure, but not make "ignored" tests a failure.

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