api / org.gradle.api.tasks.testing.junitplatform / JUnitPlatformOptions

JUnitPlatformOptions

@Incubating open class JUnitPlatformOptions : TestFrameworkOptions

The JUnit platform specific test options.

See Also
<a href="https://junit.org/junit5/docs/current/user-guide">JUnit 5 User Guide</a>

Since
4.6

Constructors

<init>

JUnitPlatformOptions()

The JUnit platform specific test options.

Functions

excludeEngines

open fun excludeEngines(vararg excludeEngines: String): JUnitPlatformOptions

The set of engines to exclude. Equivalent to invoking EngineFilter.excludeEngines.

excludeTags

open fun excludeTags(vararg excludeTags: String): JUnitPlatformOptions

The set of tags to exclude. Equivalent to invoking TagFilter.excludeTags.

getExcludeEngines

open fun getExcludeEngines(): MutableSet<String>

getExcludeTags

open fun getExcludeTags(): MutableSet<String>

getIncludeEngines

open fun getIncludeEngines(): MutableSet<String>

getIncludeTags

open fun getIncludeTags(): MutableSet<String>

includeEngines

open fun includeEngines(vararg includeEngines: String): JUnitPlatformOptions

The set of engines to run with. Equivalent to invoking EngineFilter.includeEngines.

includeTags

open fun includeTags(vararg includeTags: String): JUnitPlatformOptions

The set of tags to run with. Equivalent to invoking TagFilter.includeTags.

setExcludeEngines

open fun setExcludeEngines(excludeEngines: MutableSet<String>): Unit

setExcludeTags

open fun setExcludeTags(excludeTags: MutableSet<String>): Unit

setIncludeEngines

open fun setIncludeEngines(includeEngines: MutableSet<String>): Unit

setIncludeTags

open fun setIncludeTags(includeTags: MutableSet<String>): Unit