-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
Describe the feature
- Since Vert.x 5.0 is deprecating the callback model, I was wondering if the callbacks used in methods like
succeedingandfailingwould stop working in 5.0 (or maybe I have not understood the deprecation properly) - I found out about the existence of the methods
assertCompleteandassertFaileddeveloped 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,failingare getting deprecated, thenassertCompleteandassertFailingwould be the only methods usable (I think I am wrong here)
Contribution
- I can try to add documentation based on @slinkydeveloper's blog post