Annotation Type UseGuiceyHooks
-
@Retention(RUNTIME) @Target(TYPE) @Deprecated public @interface UseGuiceyHooks
Deprecated.additional hooks could be declared in static test fields (even in base test class)Guicey hook extension. Used to registerGuiceyConfigurationHook
in base test class (usually with debug extensions, common for all tests). In actual tests usehooks
attribute ofUseGuiceyApp
orUseDropwizardApp
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.- Since:
- 12.04.2018
- See Also:
for more info
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.Class<? extends GuiceyConfigurationHook>[]
value
Deprecated.
-
-
-
Element Detail
-
value
java.lang.Class<? extends GuiceyConfigurationHook>[] value
Deprecated.- Returns:
- list of hooks to use
-
-