Interface InterleavingGenerationReporter
-
- All Superinterfaces:
Reporter
- All Known Implementing Classes:
EmptyInterleavingGenerationReporter
,InterleavingExecutionReporterToGenerationReporterAdapter
public interface InterleavingGenerationReporter extends Reporter
An interface defining a reporter listening for events during the generation of combinatorial test inputs. Can be used together with theInterleavingCombinatorialTestConfiguration
. All methods are implemented as empty default methods to that any implementing class must only overwrite methods it needs.Interleaving version of
GenerationReporter
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
checkingFinished(InterleavingCombinatorialTestGroup group, int[] failureInducingCombination, boolean isFailureInducing)
called if the feedback-checking-phase finished.default void
checkingStarted(InterleavingCombinatorialTestGroup group, int[] failureInducingCombination)
called if the feedback-checking-phase started.default void
identificationFinished(InterleavingCombinatorialTestGroup group, Set<int[]> exceptionInducingCombinations, Set<int[]> failureInducingCombinations)
called if the identification phase ended for a failing test input.default void
identificationStarted(InterleavingCombinatorialTestGroup group, int[] failingTestInput)
called if the identification phase started for a failing test input.default void
identificationTestInputGenerated(InterleavingCombinatorialTestGroup group, int[] testInput)
called if a new test input was generated during identification phase.default void
interleavingGroupFinished(InterleavingCombinatorialTestGroup group, Map<int[],Class<? extends Throwable>> exceptionInducingCombinations, Set<int[]> possibleFailureInducingCombinations)
called if Interleaving Combinatorial Testing finished for aInterleavingCombinatorialTestGroup
.default void
interleavingGroupGenerated(InterleavingCombinatorialTestGroup group)
called if aInterleavingCombinatorialTestGroup
has been generated and the Interleaving Combinatorial Testing started.-
Methods inherited from interface de.rwth.swc.coffee4j.algorithmic.report.Reporter
report, report, reportAssumptionSatisfaction, reportAssumptionViolation, reportDebug, reportDebug, reportError, reportError, reportFatal, reportFatal, reportInfo, reportInfo, reportTrace, reportTrace, reportWarn, reportWarn
-
-
-
-
Method Detail
-
interleavingGroupGenerated
default void interleavingGroupGenerated(InterleavingCombinatorialTestGroup group)
called if aInterleavingCombinatorialTestGroup
has been generated and the Interleaving Combinatorial Testing started.- Parameters:
group
- group which was generated
-
interleavingGroupFinished
default void interleavingGroupFinished(InterleavingCombinatorialTestGroup group, Map<int[],Class<? extends Throwable>> exceptionInducingCombinations, Set<int[]> possibleFailureInducingCombinations)
called if Interleaving Combinatorial Testing finished for aInterleavingCombinatorialTestGroup
.- Parameters:
group
- group which has been finishedexceptionInducingCombinations
- all error-combinations that were found together with their type of exception.possibleFailureInducingCombinations
- all possibly failure inducing combinations that were found.
-
identificationStarted
default void identificationStarted(InterleavingCombinatorialTestGroup group, int[] failingTestInput)
called if the identification phase started for a failing test input.- Parameters:
group
- group for which the identification phase started.failingTestInput
- test input for which the identification was started.
-
identificationFinished
default void identificationFinished(InterleavingCombinatorialTestGroup group, Set<int[]> exceptionInducingCombinations, Set<int[]> failureInducingCombinations)
called if the identification phase ended for a failing test input.- Parameters:
group
- group for which the identification phase was started.exceptionInducingCombinations
- all error-combinations that were found during the identification phase.failureInducingCombinations
- all possibly failure-inducing combinations that were found during the identification phase.
-
identificationTestInputGenerated
default void identificationTestInputGenerated(InterleavingCombinatorialTestGroup group, int[] testInput)
called if a new test input was generated during identification phase.- Parameters:
group
- group for which the identification phase is started.testInput
- test inputs that was generated.
-
checkingStarted
default void checkingStarted(InterleavingCombinatorialTestGroup group, int[] failureInducingCombination)
called if the feedback-checking-phase started.- Parameters:
group
- group for which the feedback-checking-phase is started.failureInducingCombination
- the possibly failure-inducing combination that is checked.
-
checkingFinished
default void checkingFinished(InterleavingCombinatorialTestGroup group, int[] failureInducingCombination, boolean isFailureInducing)
called if the feedback-checking-phase finished.- Parameters:
group
- group for which the feedback-checking-phase has benn started.failureInducingCombination
- the possibly failure-inducing combination that has been checked.isFailureInducing
- true iff the checked combination is failure-inducing.
-
-