-
Notifications
You must be signed in to change notification settings - Fork 31
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
Allow to use in combination with other assertion frameworks #54
Comments
PS: I'm writing a PR |
can you take inspiration from vertx-junit 5 that provides a new verify method on VertxTestContext ? it would be good to have the same API in both project. |
Indeed it looks exactly the same as what I'm writing, except the method name, so I'll call it |
@vietj ,
|
(I could use |
Handler is the polyglot way to go |
so it's fine |
It would be nice to use VertxUnit in combination with other assertion frameworks, such as assertj.
As I understand, it essentially means that async "completeness" must be handled on assertion errors.
So I suggest to add a method in
TestContext
such asvoid run(Runnable r)
that takes any piece of code (which may contain assertions using another assertion framework), catches AssertionError and use the TestContext fail method.The text was updated successfully, but these errors were encountered: