JUnitOptions (Gradle API 2.14.1)

Package: org.gradle.api.tasks.testing.junit

## [Java] Class JUnitOptions

- org.gradle.api.tasks.testing.junit.JUnitOptions

- The JUnit specific test options.

- - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `JUnitOptions` | `excludeCategories(String... excludeCategories)`
    `Set<String>` | `getExcludeCategories()` The set of categories to exclude.
    `Set<String>` | `getIncludeCategories()` The set of categories to run.
    `JUnitOptions` | `includeCategories(String... includeCategories)`
    `void` | `setExcludeCategories(Set<String> excludeCategories)`
    `void` | `setIncludeCategories(Set<String> includeCategories)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Object` | `wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll`

- - ### Method Detail

    - #### @Incubating public JUnitOptions excludeCategories(String... excludeCategories)

    - #### @Incubating public Set<String> getExcludeCategories()

      The set of categories to exclude.

    - #### @Incubating public Set<String> getIncludeCategories()

      The set of categories to run.

    - #### @Incubating public JUnitOptions includeCategories(String... includeCategories)

    - #### public void setExcludeCategories(Set<String> excludeCategories)

    - #### @Incubating public void setIncludeCategories(Set<String> includeCategories)