eclipse-vertx / vertx-junit5

Testing Vert.x applications with JUnit 5
Apache License 2.0
44 stars 32 forks source link

Completion helper #44

Closed jponge closed 6 years ago

jponge commented 6 years ago

The VertxTestContext API already provides helpers such as failing() and succeeding().

While they verify steps, it would probably reduce boilerplate if we had a completing() helper that returns an asynchronous result handler that completes the test context.

See https://stackoverflow.com/questions/51490655/vert-x-test-halts-with-timeoutexception-the-test-execution-timed-out/51507706?noredirect=1#comment89985895_51507706 for a related discussion.