vertx / io.vertx.ext.unit / TestSuite / create

create

open static fun create(name: String): TestSuite

Create and return a new test suite.

Parameters

name - the test suite name

Return
the created test suite

open static fun create(testSuiteObject: Any): TestSuite

Create and return a new test suite configured after the testSuiteObject argument. The testSuiteObject argument methods are inspected and the public, non static methods with TestContext parameter are retained and mapped to a Vertx Unit test suite via the method name:

Parameters

testSuiteObject - the test suite object

Return
the configured test suite