Class JUnitOptions
java.lang.Object
org.gradle.api.tasks.testing.TestFrameworkOptions
org.gradle.api.tasks.testing.junit.JUnitOptions
The JUnit specific test options.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
copyFrom
(JUnitOptions other) Copies the options from the source options into the current one.excludeCategories
(String... excludeCategories) The set of categories to exclude.The set of categories to run.includeCategories
(String... includeCategories) void
setExcludeCategories
(Set<String> excludeCategories) The set of categories to exclude.void
setIncludeCategories
(Set<String> includeCategories) The set of categories to run.
-
Constructor Details
-
JUnitOptions
public JUnitOptions()
-
-
Method Details
-
copyFrom
Copies the options from the source options into the current one.- Since:
- 8.0
-
includeCategories
-
excludeCategories
-
getIncludeCategories
The set of categories to run. -
setIncludeCategories
The set of categories to run. -
getExcludeCategories
The set of categories to exclude. -
setExcludeCategories
The set of categories to exclude.
-