You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since Vert.x 5.0 is deprecating the callback model, I was wondering if the callbacks used in methods like succeeding and failing would stop working in 5.0 (or maybe I have not understood the deprecation properly)
I found out about the existence of the methods assertComplete and assertFailed developed by @slinkydeveloper from their blog, which allow for testing with the help of Futures instead of the callbacks
However, there isn't any official documentation about these methods in the official docs
Use cases
Including documentation for this may help those who are looking to move away from Handler<AsyncResult> -style callbacks in JUnit tests
If succeeding, failing are getting deprecated, then assertComplete and assertFailing would be the only methods usable (I think I am wrong here)
Contribution
I can try to add documentation based on @slinkydeveloper's blog post
The text was updated successfully, but these errors were encountered:
Describe the feature
succeeding
andfailing
would stop working in 5.0 (or maybe I have not understood the deprecation properly)assertComplete
andassertFailed
developed by @slinkydeveloper from their blog, which allow for testing with the help of Futures instead of the callbacksUse cases
Handler<AsyncResult>
-style callbacks in JUnit testssucceeding
,failing
are getting deprecated, thenassertComplete
andassertFailing
would be the only methods usable (I think I am wrong here)Contribution
The text was updated successfully, but these errors were encountered: