vertx / io.vertx.junit5

Package io.vertx.junit5

Types

Checkpoint

interface Checkpoint

A test completion checkpoint, flagging it advances towards the test context completion.

VertxExtension

class VertxExtension : ParameterResolver, BeforeTestExecutionCallback, AfterTestExecutionCallback, BeforeEachCallback, AfterEachCallback, BeforeAllCallback, AfterAllCallback

JUnit 5 Vert.x extension that allows the injection of Vertx and VertxTestContext parameters as well as an automatic lifecycle on the VertxTestContext instance.

VertxTestContext

class VertxTestContext

A test context to wait on the outcomes of asynchronous operations.

Annotations

Timeout

class Timeout

Specify how long VertxTestContext#awaitCompletion(long, TimeUnit) waits before timing out.

This annotation works on both test methods and test classes.