Skip to content

assumeThat(...) result is ignored in data-driven test #70

@johnnyboyc

Description

@johnnyboyc

Hello,

I have tests which are driven by excel spreadsheets; data is loaded using a Loader, and it all works marvellously well. That is, until I try to skip a test based on a specific column value (which is then used as a method parameter) in one of the spreadsheets: this is purely either 'TRUE' or 'FALSE', so I try

assumeThat(run.toLowerCase(), is("true"));

In the failure case, i.e. the 'run' value isn't true, I would assume that this test would be marked as ignored, but it isn't - it is marked as passing instead.

Is this a bug, or am I doing something really silly?

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