PHP 클래스 Mutagenesis\Runner\Mutation

상속: extends RunnerAbstract
파일 보기 프로젝트 열기: padraic/mutagenesis

보호된 프로퍼티들

프로퍼티 타입 설명
$_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