PHP Class Mutagenesis\Adapter\AdapterAbstract

Afficher le fichier Open project: padraic/mutagenesis Class Usage Examples

Protected Properties

Свойство Type Description
$_output string Output from the test library in use

Méthodes publiques

Méthode Description
getOutput ( ) : string Get the test library output
runTests ( Base $runner, boolean $useStdout = false, boolean $firstRun = false, array $mutation = [], array $testCases = [] ) : array 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.
setOutput ( string $output ) Set the test library output so it can be used later

Method Details

getOutput() public méthode

Get the test library output
public getOutput ( ) : string
Résultat string

runTests() abstract public méthode

First element is a boolean result value indicating if tests passed or not. Second element is an array containing the key "stdout" which stores the output from the last test run.
abstract public runTests ( Base $runner, boolean $useStdout = false, boolean $firstRun = false, array $mutation = [], array $testCases = [] ) : array
$runner Mutagenesis\Runner\Base
$useStdout boolean
$firstRun boolean
$mutation array
$testCases array
Résultat array

setOutput() public méthode

Set the test library output so it can be used later
public setOutput ( string $output )
$output string

Property Details

$_output protected_oe property

Output from the test library in use
protected string $_output
Résultat string