Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
johnnyboyc opened this issue Mar 10, 2017 · 0 comments
Open

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

johnnyboyc opened this issue Mar 10, 2017 · 0 comments

Comments

@johnnyboyc
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant