Annotation Type ExtensionSource
-
@Documented @Target({ANNOTATION_TYPE,METHOD}) @Retention(RUNTIME) @Repeatable(ExtensionSources.class) public @interface ExtensionSource
ExtensionSource
is an annotation used to register extension providers for the annotated test class.This may also be used as a meta-annotation in order to create a custom composed annotation that inherits the semantics of
ExtensionSource
(demonstrated byEnableExtension
).This is more or less a copy of
org.junit.jupiter.params.provider.ArgumentsSource
from the junit-jupiter-params project.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description Class<? extends ExtensionProvider>
value
Gets the class of theExtensionProvider
-
-
-
Element Detail
-
value
Class<? extends ExtensionProvider> value
Gets the class of theExtensionProvider
- Returns:
- the class which provides an
Extension
. Must have a no-args constructor
-
-