Annotation Type UseGuiceyHooks
-
@Retention(RUNTIME) @Target(TYPE) @Deprecated public @interface UseGuiceyHooksDeprecated.additional hooks could be declared in static test fields (even in base test class)Guicey hook extension. Used to registerGuiceyConfigurationHookin base test class (usually with debug extensions, common for all tests). In actual tests usehooksattribute ofUseGuiceyApporUseDropwizardAppextensions to apply test-specific configurations.WARNING: only one
UseGuiceyHooksannotation 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 ru.vyarus.dropwizard.guice.hook.GuiceyConfigurationHook>[]valueDeprecated.
-