tuweni / org.apache.tuweni.junit / VertxExtension

VertxExtension

open class VertxExtension : ParameterResolver, AfterAllCallback (source)

A junit5 extension, that provides a Vert.X instance for tests. The Vert.X instance created for the test suite and injected into any tests with parameters annotated by VertxInstance.

Constructors

<init>

VertxExtension()

A junit5 extension, that provides a Vert.X instance for tests. The Vert.X instance created for the test suite and injected into any tests with parameters annotated by VertxInstance.

Functions

afterAll

open fun afterAll(context: ExtensionContext): Unit

resolveParameter

open fun resolveParameter(parameterContext: ParameterContext, extensionContext: ExtensionContext): Any

supportsParameter

open fun supportsParameter(parameterContext: ParameterContext, extensionContext: ExtensionContext): Boolean