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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcopyFrom(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) voidsetExcludeCategories(Set<String> excludeCategories) The set of categories to exclude.voidsetIncludeCategories(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.
-