public interface GenerationReporter extends Reporter
CombinatorialTestConfiguration.
All methods are implemented as empty default methods to that any implementing class must only overwrite methods
it needs.| Modifier and Type | Method and Description |
|---|---|
default void |
faultCharacterizationFinished(TestInputGroup testInputGroup,
List<int[]> failureInducingCombinations)
Called after all fault characterization has been finished.
|
default void |
faultCharacterizationStarted(TestInputGroup testInputGroup,
FaultCharacterizationAlgorithm algorithm)
Called if fault characterization for the given group has started.
|
default void |
faultCharacterizationTestInputsGenerated(TestInputGroup testInputGroup,
List<int[]> testInputs)
Called if new test inputs have been generated by the
FaultCharacterizationAlgorithm provided to
faultCharacterizationStarted(TestInputGroup, FaultCharacterizationAlgorithm). |
default void |
testInputGroupFinished(TestInputGroup testInputGroup)
Called if all operations for a
TestInputGroup are finished. |
default void |
testInputGroupGenerated(TestInputGroup testInputGroup,
TestInputGroupGenerator generator)
Called if a new
TestInputGroup has been generated by a TestInputGroupGenerator. |
report, report, reportDebug, reportDebug, reportError, reportError, reportFatal, reportFatal, reportInfo, reportInfo, reportTrace, reportTrace, reportWarn, reportWarndefault void testInputGroupGenerated(TestInputGroup testInputGroup, TestInputGroupGenerator generator)
TestInputGroup has been generated by a TestInputGroupGenerator. This is only called
once per TestInputGroup, and the identifier can be used in all other methods to connect calles for the
same group.testInputGroup - the group which was generatedgenerator - the generator which generated the given groupdefault void testInputGroupFinished(TestInputGroup testInputGroup)
TestInputGroup are finished. After this has been called it is guaranteed
that no further test inputs are generated for the group, so no other methods will be called for the same group.
This is needed additionally to faultCharacterizationFinished(TestInputGroup, List) since some groups may
disable fault characterization and a reporter still needs to be notified after the group is finished. If fault
characterization is used for the group, faultCharacterizationFinished(TestInputGroup, List) has the same meaning.testInputGroup - the group which has been finisheddefault void faultCharacterizationStarted(TestInputGroup testInputGroup, FaultCharacterizationAlgorithm algorithm)
TestInputGroup, and never if fault characterization is not enabled.testInputGroup - the group for which the characterization process startedalgorithm - the algorithm which will be used to perform fault characterization. Since this is the same instance
as used in the test, implementing classes could theoretically modify it, but is is strongly
advised not to modify this algorithm because many unintended side effects could happen.default void faultCharacterizationFinished(TestInputGroup testInputGroup, List<int[]> failureInducingCombinations)
testInputGroupFinished(TestInputGroup) will be called.testInputGroup - the group for which fault characterization has been finishedfailureInducingCombinations - all failure inducing combinations found. These may or may not be ordered
depending of the algorithm used. They also do not necessarily contain
combinations guaranteed to be failure-inducing but rather those "most
probably failure-inducing"default void faultCharacterizationTestInputsGenerated(TestInputGroup testInputGroup, List<int[]> testInputs)
FaultCharacterizationAlgorithm provided to
faultCharacterizationStarted(TestInputGroup, FaultCharacterizationAlgorithm). This method may be called multiple
times or never depending on the definition of a combinatorial test. It will only ever be called between calls
to faultCharacterizationStarted(TestInputGroup, FaultCharacterizationAlgorithm) and
faultCharacterizationFinished(TestInputGroup, List).testInputGroup - the group for which further test inputs were generated for fault characterizationtestInputs - all generated test inputsCopyright © 2019. All rights reserved.