Interface InterleavingExecutionReporter
-
- All Superinterfaces:
ExecutionReporter
- All Known Implementing Classes:
DelegatingInterleavingExecutionReporter
,EmptyInterleavingExecutionReporter
,LoggingInterleavingExecutionReporter
,LoggingInterleavingExecutionReporterForGeneration
,LoggingInterleavingExecutionReporterForGenerationJava
public interface InterleavingExecutionReporter extends ExecutionReporter
Interface each Execution Reporter for Interleaving CT must implement.InputParameterModel
-based equivalent to anInterleavingGenerationReporter
.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
checkingFinished(InterleavingCombinatorialTestGroup group, Combination combinationToCheck, boolean passed)
Called when the checking phase for a combination has finished.default void
checkingStarted(InterleavingCombinatorialTestGroup group, Combination combinationToCheck)
Called when the checking phase for a combination has started.default void
identificationFinished(InterleavingCombinatorialTestGroup group, Set<Combination> exceptionInducingCombinations, Set<Combination> possiblyFailureInducingCombinations)
Called when the identification phase for a failing test input has finished.default void
identificationStarted(InterleavingCombinatorialTestGroup group, Combination failingTestInput)
Called when the identification phase for a failing test input has started.default void
identificationTestInputGenerated(InterleavingCombinatorialTestGroup group, Combination testInput)
Called when a new test input was generated during identification phase.default void
interleavingGroupFinished(InterleavingCombinatorialTestGroup group, Map<Combination,Class<? extends Throwable>> exceptionInducingCombinations, Set<Combination> possiblyFailureInducingCombinations)
Called when the interleaving combinatorial testing has finished.default void
interleavingGroupGenerated(InterleavingCombinatorialTestGroup group)
Called when a newInterleavingCombinatorialTestGroup
has been generated by anInterleavingCombinatorialTestManager
.-
Methods inherited from interface de.rwth.swc.coffee4j.engine.report.ExecutionReporter
getReportLevel, modelModified, report, testInputExecutionFinished, testInputExecutionStarted
-
-
-
-
Method Detail
-
interleavingGroupGenerated
default void interleavingGroupGenerated(InterleavingCombinatorialTestGroup group)
Called when a newInterleavingCombinatorialTestGroup
has been generated by anInterleavingCombinatorialTestManager
.- Parameters:
group
- stores all important information for the execution of interleaving combinatorial testing.
-
interleavingGroupFinished
default void interleavingGroupFinished(InterleavingCombinatorialTestGroup group, Map<Combination,Class<? extends Throwable>> exceptionInducingCombinations, Set<Combination> possiblyFailureInducingCombinations)
Called when the interleaving combinatorial testing has finished.- Parameters:
group
- stores all important information for the execution of interleaving combinatorial testing.exceptionInducingCombinations
- combinations that need to be modelled as error-constraints.possiblyFailureInducingCombinations
- combinations that trigger faults in the SUT.
-
identificationStarted
default void identificationStarted(InterleavingCombinatorialTestGroup group, Combination failingTestInput)
Called when the identification phase for a failing test input has started.- Parameters:
group
- stores all important information for the execution of interleaving combinatorial testing.failingTestInput
- test input for which the failure-inducing/error-combinations should be identified.
-
identificationFinished
default void identificationFinished(InterleavingCombinatorialTestGroup group, Set<Combination> exceptionInducingCombinations, Set<Combination> possiblyFailureInducingCombinations)
Called when the identification phase for a failing test input has finished.- Parameters:
group
- stores all important information for the execution of interleaving combinatorial testing.exceptionInducingCombinations
- all found combinations that must be modeled as error-constraints.possiblyFailureInducingCombinations
- all found (possibly) failure-inducing combinations causing the test input to fail.
-
identificationTestInputGenerated
default void identificationTestInputGenerated(InterleavingCombinatorialTestGroup group, Combination testInput)
Called when a new test input was generated during identification phase.- Parameters:
group
- stores all important information for the execution of interleaving combinatorial testing.testInput
- the newly generated test input.
-
checkingStarted
default void checkingStarted(InterleavingCombinatorialTestGroup group, Combination combinationToCheck)
Called when the checking phase for a combination has started.- Parameters:
group
- stores all important information for the execution of interleaving combinatorial testing.combinationToCheck
- the combination to be checked.
-
checkingFinished
default void checkingFinished(InterleavingCombinatorialTestGroup group, Combination combinationToCheck, boolean passed)
Called when the checking phase for a combination has finished.- Parameters:
group
- stores all important information for the execution of interleaving combinatorial testing.combinationToCheck
- the combination that has been checked.passed
- true iff combination is (most-likely) an error-combination/failure-inducing combination.
-
-