Registry / testing / vertx-unit

vertx-unit

JSON →
library5.0.10javamavenunverified

Vert.x Unit is a testing framework for Vert.x applications, providing asynchronous testing support.

<dependency> <groupId>io.vertx</groupId> <artifactId>vertx-unit</artifactId> <version>5.0.10</version> </dependency>
INSTALL
IMPORT
SIG · VERTX-UNIT
V
vertx-unit
testingjavav5.0.10
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

TestContext
io.vertx.ext.unit.TestContext

Runs a Vert.x unit test with asynchronous assertions.

import io.vertx.core.Vertx; import io.vertx.ext.unit.TestContext; import io.vertx.ext.unit.junit.VertxUnitRunner; import org.junit.Test; import org.junit.runner.RunWith; @RunWith(VertxUnitRunner.class) public class MyTest { @Test public void test(TestContext context) { Vertx vertx = Vertx.vertx(); vertx.close(context.asyncAssertSuccess()); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
5.0.10latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
vertx-unit — mvn dependency:get vertx-unit · libregistry