Mutagenesis\Runner\Mutation::execute PHP Method

execute() public method

Execute the runner. If the initial test run to check all tests are in a passing state, should pass TRUE as first parameter. This will attempt to have the testing framework log execution times of test cases so that subsequent runs run test cases in their order of execution times ascending
public execute ( boolean $firstRun = false ) : void
$firstRun boolean Indicates if first run of tests
return void
    public function execute($firstRun = false)
    {
        $mutation = $this->getMutation();
        if (!empty($mutation)) {
            if (!is_null($this->getBootstrap())) {
                require_once $this->getBootstrap();
            }
            $this->getRunkit()->applyMutation($mutation);
        }
        $this->getAdapter()->execute($this->getOptions(), false, $firstRun, $this->_testCasesInExecutionOrder);
    }