PHP Class Mutagenesis\Adapter\Phpunit\Runner

Deprecation:
Exibir arquivo Open project: padraic/mutagenesis

Public Methods

Method Description
main ( array $arguments, $useStdout = false ) : 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.

Method Details

main() public static method

To prevent duplication of output from stdout, PHPUnit is hard configured to write to stderrm(stdin is used in proc_open call)
public static main ( array $arguments, $useStdout = false ) : void
$arguments array Mutagenesis arguments to pass to PHPUnit
return void