UseTestPlugin (Grails 3.0.10.BUILD-SNAPSHOT)
Date: 2015-12-03

Package: grails.test.mixin

## [Java] Annotation Type UseTestPlugin

- grails.test.mixin.UseTestPlugin

- Annotation for registering custom TestPlugin classes to the TestRuntime of the current test class. This annotation can be also used on custom SharedRuntimeConfigurer classes to register test plugin classes.

  Authors:
    Lari Hotari
  Since:
    2.4.1

- - ### Element Summary

    Required Element Summary
    Type | Name and Description
    --- | ---
    `java.lang.Class<? extends TestPlugin>[]` | `value` @return TestPlugin classes to register in the runtime

    Optional Element Summary
    Type | Name and Description
    --- | ---
    `boolean` | `exclude` @default false

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class java.lang.Object` | `java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()`

- - ### Element Detail

    - #### public boolean exclude

      @default false

    - #### public java.lang.Class<? extends TestPlugin>[] value

      Returns:
        TestPlugin classes to register in the runtime