-
public interface PluginPlugin that can inject into fields.The avaje-jex-test provides a plugin that would start a http server and inject a http client into the field for the tests to use.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfacePlugin.ScopeThe plugin scope for the test.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Plugin.ScopecreateScope(BeanScope beanScope)Create a plugin scope for either EACH or ALL (per test or per class)booleanforType(Class<?> type)Return true if this plugin should inject for this class.
-
-
-
Method Detail
-
forType
boolean forType(Class<?> type)
Return true if this plugin should inject for this class.
-
createScope
Plugin.Scope createScope(BeanScope beanScope)
Create a plugin scope for either EACH or ALL (per test or per class)The scope will be closed appropriately (afterEach or afterAll).
-
-