Annotation Interface UseGuiceyHooks
Deprecated.
additional hooks could be declared in static test fields (even in base test class)
Guicey hook extension. Used to register
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.
- Since:
- 12.04.2018
- See Also:
-
for more info
-
Required Element Summary
Required Elements
-
Element Details
-
value
Class<? extends ru.vyarus.dropwizard.guice.hook.GuiceyConfigurationHook>[] valueDeprecated.- Returns:
- list of hooks to use
-