Package | Description |
---|---|
io.vertx.ext.unit |
= Vertx unit
Asynchronous polyglot unit testing.
|
Modifier and Type | Method and Description |
---|---|
TestSuite |
TestSuite.after(io.vertx.core.Handler<TestContext> callback)
Set a callback executed after the tests.
|
TestSuite |
TestSuite.afterEach(io.vertx.core.Handler<TestContext> callback)
Set a callback executed after each test and before the suite
after callback. |
TestSuite |
TestSuite.before(io.vertx.core.Handler<TestContext> callback)
Set a callback executed before the tests.
|
TestSuite |
TestSuite.beforeEach(io.vertx.core.Handler<TestContext> callback)
Set a callback executed before each test and after the suite
before callback. |
static TestSuite |
TestSuite.create(Object testSuiteObject)
Create and return a new test suite configured after the
testSuiteObject argument. |
static TestSuite |
TestSuite.create(String name)
Create and return a new test suite.
|
TestSuite |
TestSuite.test(String name,
io.vertx.core.Handler<TestContext> testCase)
Add a new test case to the suite.
|
TestSuite |
TestSuite.test(String name,
int repeat,
io.vertx.core.Handler<TestContext> testCase)
Add a new test case to the suite.
|
Copyright © 2017. All rights reserved.