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

Custom Assumptions #42

Open
chamacs opened this issue Aug 2, 2018 · 0 comments
Open

Custom Assumptions #42

chamacs opened this issue Aug 2, 2018 · 0 comments

Comments

@chamacs
Copy link

chamacs commented Aug 2, 2018

This is more of a question than an issue. Is there a reason why custom assumptions can't done similar to custom assertions? (or am I just not finding the documentation on how to do this?)

So that this is possible:
assumeThat(frodo).hasRace("hobbit");

Instead of having to do this:
assumeThat(frodo.getRace()).isEqualTo("hobbit");

Thanks in advance.

@croesch croesch assigned croesch and unassigned croesch Oct 1, 2018
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

2 participants