Annotation Type ReporterSource
-
@Documented @Target({ANNOTATION_TYPE,METHOD}) @Retention(RUNTIME) @Repeatable(ReporterSources.class) public @interface ReporterSource
ReporterSource
is an annotation used to register reporter providers for the annotated test method.This may also be used as a meta-annotation in order to create a custom composed annotation that inherits the semantics of
ReporterSource
(demonstrated byEnableReporter
).This annotation is repeatable via
ReporterSources
, and as such multiple providers can be registered.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 ReporterProvider>
value
Gets the class of theReporterProvider
-
-
-
Element Detail
-
value
Class<? extends ReporterProvider> value
Gets the class of theReporterProvider
- Returns:
- the class which provides
ExecutionReporter
s. Must have a no-args constructor
-
-