For AI agents: the documentation index is at
https://docs.gradle.org/llms.txt
. Request any page with the header
Accept: text/markdown
to get Markdown. User manual pages are also available as Markdown by replacing
.html
with
.md
in the URL.
gradle
Toggle table of contents
9.9.1
API
Target filter
API
Switch theme
Search in API
Skip to content
gradle
gradle
/
org.gradle.api.tasks.testing.junit
/
JUnitOptions
JUnit
Options
API
abstract
class
JUnitOptions
:
TestFrameworkOptions
(
source
)
The JUnit specific test options.
Since
0.7
Members
Constructors
JUnit
Options
Link copied to clipboard
API
constructor
(
)
Properties
exclude
Categories
Link copied to clipboard
API
@get:
Input
open
var
excludeCategories
:
Set
<
String
>
include
Categories
Link copied to clipboard
API
@get:
Input
open
var
includeCategories
:
Set
<
String
>
Functions
copy
From
Link copied to clipboard
API
open
fun
copyFrom
(
other
:
JUnitOptions
)
Copies the options from the source options into the current one.
exclude
Categories
Link copied to clipboard
API
open
fun
excludeCategories
(
excludeCategories
:
Array
<
String
>
)
:
JUnitOptions
Exclude categories.
include
Categories
Link copied to clipboard
API
open
fun
includeCategories
(
includeCategories
:
Array
<
String
>
)
:
JUnitOptions
Include categories.