We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Add untilNot( () -> checkIfCrashedError() ) feature
Idea is to wait x sec and throw exception if condition is meet. Example:
publish(message) awaits().atMost(5, SECONDS).untilNot( () -> errorQueue.size()==0 )
Awesome project! Just my 0.02
The text was updated successfully, but these errors were encountered:
I hear what you're saying but I'm a bit skeptical. The reason is that Awaitility already integrates with Hamcrest matchers which allows you to do:
await().atMost(5, SECONDS).until( errorQueue::size, not(equalTo(0)) )
Which is more composable and does not require an increase of the API.
Sorry, something went wrong.
That would also do Thanks!
No branches or pull requests
Add untilNot( () -> checkIfCrashedError() ) feature
Idea is to wait x sec and throw exception if condition is meet.
Example:
publish(message)
awaits().atMost(5, SECONDS).untilNot( () -> errorQueue.size()==0 )
Awesome project!
Just my 0.02
The text was updated successfully, but these errors were encountered: