Class JUnitOptions
- java.lang.Object
-
- org.gradle.api.tasks.testing.TestFrameworkOptions
-
- org.gradle.api.tasks.testing.junit.JUnitOptions
-
public class JUnitOptions extends TestFrameworkOptions
The JUnit specific test options.
-
-
Constructor Summary
Constructors Constructor Description JUnitOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JUnitOptionsexcludeCategories(String... excludeCategories)Set<String>getExcludeCategories()The set of categories to exclude.Set<String>getIncludeCategories()The set of categories to run.JUnitOptionsincludeCategories(String... includeCategories)voidsetExcludeCategories(Set<String> excludeCategories)The set of categories to exclude.voidsetIncludeCategories(Set<String> includeCategories)The set of categories to run.
-
-
-
Method Detail
-
includeCategories
public JUnitOptions includeCategories(String... includeCategories)
-
excludeCategories
public JUnitOptions excludeCategories(String... excludeCategories)
-
setIncludeCategories
public void setIncludeCategories(Set<String> includeCategories)
The set of categories to run.
-
getExcludeCategories
@Input public Set<String> getExcludeCategories()
The set of categories to exclude.
-
-