api / org.gradle.api.tasks.testing / Test / options

options

open fun options(testFrameworkConfigure: Closure<Any>): TestFrameworkOptions

Configures test framework specific options. Make sure to call #useJUnit(), #useJUnitPlatform() or #useTestNG() before using this method.

Return
The test framework options.

open fun options(testFrameworkConfigure: Action<in TestFrameworkOptions>): TestFrameworkOptions

Configures test framework specific options. Make sure to call #useJUnit(), #useJUnitPlatform() or #useTestNG() before using this method.

Return
The test framework options.

Since
3.5