vertx / io.vertx.junit5 / VertxExtension

# 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.

Author
Julien Ponge

### Constructors

<init> | `VertxExtension()` JUnit 5 Vert.x extension that allows the injection of Vertx and VertxTestContext parameters as well as an automatic lifecycle on the VertxTestContext instance.

### Functions

afterAll | `fun afterAll(context: ExtensionContext): Unit`
afterEach | `fun afterEach(context: ExtensionContext): Unit`
afterTestExecution | `fun afterTestExecution(context: ExtensionContext): Unit`
beforeAll | `fun beforeAll(context: ExtensionContext): Unit`
beforeEach | `fun beforeEach(context: ExtensionContext): Unit`
beforeTestExecution | `fun beforeTestExecution(context: ExtensionContext): Unit`
resolveParameter | `fun resolveParameter(parameterContext: ParameterContext, extensionContext: ExtensionContext): Any`
supportsParameter | `fun supportsParameter(parameterContext: ParameterContext, extensionContext: ExtensionContext): Boolean`