@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface UseGuiceyHooks
GuiceyConfigurationHook in base test class (usually
with debug extensions, common for all tests). In actual tests use hooks attribute of
UseGuiceyApp or UseDropwizardApp extensions to apply test-specific configurations.
WARNING: only one UseGuiceyHooks annotation could be used in test hierarchy. For example,
you can't use it in both base class and test class. This is spock limitation, but should not be an issue for
most cases.
for more info| Modifier and Type | Required Element and Description |
|---|---|
java.lang.Class<? extends GuiceyConfigurationHook>[] |
value |
public abstract java.lang.Class<? extends GuiceyConfigurationHook>[] value