Метод | Описание | |
---|---|---|
execute ( string $jobScript ) : string | Execute the generated job which is to call the static main method. | |
main ( array $arguments, $mutation = null, $bootstrap = null ) : void | Uses an instance of PHPUnit_TextUI_Command to execute the PHPUnit tests and simulates any Mutagenesis supported command line options suitable for PHPUnit. At present, we merely dissect a generic 'options' string equivelant to anything typed into a console after a normal 'phpunit' command. The adapter captures the TextUI output for further processing. | |
processOutput ( string $output ) : boolean | Parse the PHPUnit text result output to see if there were any failures. | |
runTests ( |
Runs the tests suite according to Runner set options and the execution order of test case (if any). It then returns an array of two elements. |
public static processOutput ( string $output ) : boolean | ||
$output | string | |
Результат | boolean |