open class TestOptions : ReportingOptions
Test execution options:
timeout in milliseconds, the default value is 2 minutes useEventLooptrue always runs with an event loopfalse never runs with an event loopnull uses an event loop if there is one (provided by io.vertx.core.Vertx#currentContext()) otherwise run withoutreporters is an array of reporter configurationsAuthor
Julien Viet
TestOptions()
Create a new empty options, with the default time out and no reporters. TestOptions(other: TestOptions)
Copy constructor. TestOptions(json: JsonObject)
Create a new options from the specified json. |
static val DEFAULT_TIMEOUT: Long
The default time out value in milliseconds: 2 minutes. |
|
static val DEFAULT_USE_EVENT_LOOP: Boolean
The default value for using or not the event loop: |
open fun addReporter(reportOptions: ReportOptions): TestOptions |
|
open fun getTimeout(): Long |
|
open fun isUseEventLoop(): Boolean |
|
open fun setReporters(reporters: MutableList<ReportOptions>): TestOptions |
|
open fun setTimeout(timeout: Long): TestOptions
Set the test timeout. |
|
open fun setUseEventLoop(useEventLoop: Boolean): TestOptions
Configure the execution to use an event loop when there is no one existing. |
|
open fun toJson(): JsonObject |
open fun getReporters(): MutableList<ReportOptions> |