data class TestCaseConfig
<init> |
TestCaseConfig(enabled: Boolean = true, invocations: Int = 1, threads: Int = 1, timeout: Duration? = null, tags: Set<Tag> = emptySet(), listeners: List<TestListener> = emptyList(), extensions: List<TestCaseExtension> = emptyList(), enabledIf: EnabledIf = { true }) |
enabled |
val enabled: Boolean |
enabledIf |
val enabledIf: EnabledIf |
extensions |
val extensions: List<TestCaseExtension> |
invocations |
val invocations: Int |
listeners |
val listeners: List<TestListener> |
tags |
val tags: Set<Tag> |
threads |
val threads: Int |
timeout |
val timeout: Duration? |
deriveTestConfig |
Creates a TestCaseConfig from the given parameters, reverting to the receiver for null parameters. fun TestCaseConfig.deriveTestConfig(enabled: Boolean? = null, tags: Set<Tag>? = null, extensions: List<TestCaseExtension>? = null, timeout: Duration? = null, enabledIf: EnabledIf? = null, invocations: Int? = null, threads: Int? = null, listeners: List<TestListener>? = null): TestCaseConfig |
resolvedTimeout |
Returns the timeout for a TestCase taking into account global settings. fun TestCaseConfig.resolvedTimeout(): Duration |