Annotation Type EnableReporter
-
@Documented @Target({ANNOTATION_TYPE,METHOD}) @Retention(RUNTIME) @ReporterSource(de.rwth.swc.coffee4j.junit.engine.annotation.configuration.reporter.ConstructorBasedReporterProvider.class) public @interface EnableReporter
This is aReporterSourceusing theConstructorBasedReporterProviderto create new instances of aExecutionReportervia a no-args, or one-arg constructor. Since reporters are allowed, just return multiple classes in thevalue()method to register more reporters, or use any otherReporterSourcesinceReporterSourceis a repeatable annotation.If
useLevel()is set tofalse(this is the default) a no-args constructor is used to instantiate theExecutionReporters. Otherwise, theReportLeveldefined bylevel()is given to the constructor so an excepting constructor is needed. This can be used to directly configure the level to which reporters should listen at the method.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description Class<? extends ExecutionReporter>[]valueGets the class of the suppliedExecutionReporter
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description ReportLevellevelGets theReportLevelof the suppliedExecutionReporterbooleanuseLevelGetsbooleanon whether to tu used theReportLevel
-
-
-
Element Detail
-
value
Class<? extends ExecutionReporter>[] value
Gets the class of the suppliedExecutionReporter- Returns:
- the class of
ExecutionReporterwhich listen to combinatorial test execution. Either a no-args or constructor needing oneReportLevelis needed depending on the setting ofuseLevel()as described inEnableReporter
-
-
-
level
ReportLevel level
Gets theReportLevelof the suppliedExecutionReporter- Returns:
- at which level the
ExecutionReporters should listen ifuseLevel()is enabled
- Default:
- de.rwth.swc.coffee4j.algorithmic.report.ReportLevel.INFO
-
-
-
useLevel
boolean useLevel
Getsbooleanon whether to tu used theReportLevel- Returns:
- whether to use
ReportLevelduring the instantiation of allExecutionReporters
- Default:
- false
-
-