PHP Класс Mutagenesis\Runner\Mutation

Наследование: extends RunnerAbstract
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$_mutation array Array containing all data and objects required for applying a mutation
$_testCasesInExecutionOrder array Test Cases to process in a specific execution order

Открытые методы

Метод Описание
execute ( boolean $firstRun = false ) : void 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
getMutation ( ) Get the applicable mutation for this run
setMutation ( string $mutation ) Set a string containing the serialised form a generated mutation and unserialise it into a usable form
setTestCasesInExecutionOrder ( $testCases )

Описание методов

execute() публичный Метод

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
Результат void

getMutation() публичный Метод

Get the applicable mutation for this run
public getMutation ( )

setMutation() публичный Метод

Set a string containing the serialised form a generated mutation and unserialise it into a usable form
public setMutation ( string $mutation )
$mutation string Serialized mutation data

setTestCasesInExecutionOrder() публичный Метод

public setTestCasesInExecutionOrder ( $testCases )

Описание свойств

$_mutation защищенное свойство

Array containing all data and objects required for applying a mutation
protected array $_mutation
Результат array

$_testCasesInExecutionOrder защищенное свойство

Test Cases to process in a specific execution order
protected array $_testCasesInExecutionOrder
Результат array