Interface SequentialCombinatorialTestManager
-
- All Known Subinterfaces:
GeneratingSequentialCombinatorialTestManager
- All Known Implementing Classes:
BasicSequentialCombinatorialTestManager
,CachingDelegatingSequentialCombinatorialTestManager
,ConstraintGeneratingSequentialCombinatorialTestManager
public interface SequentialCombinatorialTestManager
Defines a manager which can completely manage a combinatorial test including dynamic test generation (e.g fault characterization).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<int[]>
generateAdditionalTestInputsWithResult(int[] testInput, TestResult testResult)
Generates additional test inputs based on results of previous test inputs normally generated by eithergenerateInitialTests()
or this method in a previous iteration.List<int[]>
generateInitialTests()
Generates all initial test inputs for execution.
-
-
-
Method Detail
-
generateInitialTests
List<int[]> generateInitialTests()
Generates all initial test inputs for execution. This should generate at least one test input if dynamic generation viagenerateAdditionalTestInputsWithResult(int[], TestResult)
should be used, as most front-ends won't callgenerateAdditionalTestInputsWithResult(int[], TestResult)
if this returned no test input.- Returns:
- a list of all initial test inputs. It is not guaranteed that these test inputs don't contain duplicates
-
generateAdditionalTestInputsWithResult
List<int[]> generateAdditionalTestInputsWithResult(int[] testInput, TestResult testResult)
Generates additional test inputs based on results of previous test inputs normally generated by eithergenerateInitialTests()
or this method in a previous iteration. For example, this functionality can be used to implement dynamic test input generation or fault characterization (or a combination of both).- Parameters:
testInput
- the test input for which's result further test inputs should be generatedtestResult
- the result of the test input- Returns:
- a list of additional test inputs generated based on the result of the given test inputs. This does not necessarily have to return any test inputs for each call
-
-