Class MixedStrengthParameterCombinationFactory

  • All Implemented Interfaces:
    ParameterCombinationFactory

    public class MixedStrengthParameterCombinationFactory
    extends Object
    implements ParameterCombinationFactory
    The "normal" strategy for covering all t-value-combinations for combinatorial test with testing strength t. This means that all combinations of previous parameters with strength t - 1 are returned, as the current parameter is added to every combination as described in ParameterCombinationFactory.
    • Constructor Detail

      • MixedStrengthParameterCombinationFactory

        public MixedStrengthParameterCombinationFactory()
    • Method Detail

      • create

        public List<it.unimi.dsi.fastutil.ints.IntSet> create​(int[] oldParameters,
                                                              int nextParameter,
                                                              TestModel model)
        Description copied from interface: ParameterCombinationFactory
        Calculates which parameter combinations should be covered in the next step.
        Specified by:
        create in interface ParameterCombinationFactory
        Parameters:
        oldParameters - the parameters already set by IPOG in horizontal expansion
        nextParameter - the next parameter for which the parameter combination between it and the oldParameters needs to be calculated
        model - the model including the strength configuration
        Returns:
        all combinations of old parameter which should be covered together with the next parameter. If all only all values of the next parameter should be covered (testing strength of one), a list with a single empty set must be returned. If no values in the next parameters need to be covered (testing strength zero), an empty list must be returned.