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