muteria.drivers.optimizers.criteriatestexecution.base_criteria_test_execution_optimizer module

Base test criteria test execution optimizer class (For a single criterion)

Each file that implement a optimizer must have the class CriteriaTestExecutionOptimizer that implements the base class bellow

class muteria.drivers.optimizers.criteriatestexecution.base_criteria_test_execution_optimizer.BaseCriteriaTestExecutionOptimizer(config, explorer, criterion, **kwargs)[source]

Bases: ABC

feedback(test_objective, test_to_verdict, **kwargs)[source]

Possibly get feedback from past executions Override this if needed

get_next_test_objective()[source]
get_test_execution_optimizer(test_objective)[source]

Get an initialized test execution optimizer (the user should not reset)

has_next_test_objective()[source]
abstract classmethod installed(custom_binary_dir=None)[source]

A decorator indicating abstract classmethods.

Deprecated, use ‘classmethod’ with ‘abstractmethod’ instead.

abstract reset(toolalias, test_objective_list, test_list, **kwargs)[source]

Reset the optimizer (compute test objective ordering and their test orderings)

select_test_objectives(test_objective_list, proportion_number, is_proportion=True)[source]

Apply Mutant Selection