open fun useTestNG(): Unit
Specifies that TestNG should be used to execute the tests.
To configure TestNG specific options, see #useTestNG(Closure)
.
open fun useTestNG(testFrameworkConfigure: Closure<Any>): Unit
Specifies that TestNG should be used to execute the tests, configuring TestNG specific options.
The supplied closure configures an instance of , which can be used to configure how TestNG runs.
testFrameworkConfigure
- A closure used to configure the TestNG options.
open fun useTestNG(testFrameworkConfigure: Action<in TestFrameworkOptions>): Unit
Specifies that TestNG should be used to execute the tests, configuring TestNG specific options.
The supplied action configures an instance of , which can be used to configure how TestNG runs.
testFrameworkConfigure
- An action used to configure the TestNG options.
Since
3.5