vertx / io.vertx.ext.unit / TestSuite / test

# test

`abstract fun test(name: String, testCase: Handler<TestContext>): TestSuite`

Add a new test case to the suite.

### Parameters

`name` - the test case name

`testCase` - the test case

Return
a reference to this, so the API can be used fluently

`abstract fun test(name: String, repeat: Int, testCase: Handler<TestContext>): TestSuite`

Add a new test case to the suite.

### Parameters

`name` - the test case name

`repeat` - the number of times the test should be repeated

`testCase` - the test case

Return
a reference to this, so the API can be used fluently