Interface ParameterCombinationFactory
-
- All Known Implementing Classes:
TWiseParameterCombinationFactory
public interface ParameterCombinationFactoryAn interface for a factory defining which combinations of parameters need to be tested. In every iteration of the IPOG algorithm, the test suite is expanded to the next parameter defined by aParameterOrder. Since all combinations between the last iterations' parameters are already covered, this only needs to return the combinations between the old parameters, which, together with the current parameter, should be covered. This means, that if all 2-value-combinations should be covered for an IPM having 4 parameter numbered 0 through 3, the following combinations would be returned after iterations for parameter 0 and 1 have already been done and the strength is 2: {0}, {1}. Internally, IPOG will append the current parameter to all of these sets. This means that it knows the parameter combinations {0, 2} and {1, 2} should be covered. The combination {0, 1} is not relevant since it is already covered in the last iteration.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<it.unimi.dsi.fastutil.ints.IntSet>create(int[] oldParameters, int strength)Calculates which parameter combinations should be covered in the next step.
-
-
-
Method Detail
-
create
java.util.List<it.unimi.dsi.fastutil.ints.IntSet> create(int[] oldParameters, int strength)Calculates which parameter combinations should be covered in the next step. The factory can only implicitly know the next parameter through theParameterOrderused.- Parameters:
oldParameters- the parameters already set by IPOG in horizontal expansionstrength- the strength of the test suite which should be generated- Returns:
- all combinations of old parameter which should be covered together with the next parameter
-
-