PHP Class Hal\MutaTesting\Runner\Adapter\AtoumAdapter

Inheritance: extends BaseAdapter, implements Hal\MutaTesting\Runner\Adapter\AdapterInterface
Show file Open project: halleck45/mutatesting Class Usage Examples

Public Methods

Method Description
__construct ( $binary, $testDirectory, array $options = [], Hal\MutaTesting\Runner\Process\ProcessManagerInterface $processManager = null )
getSuiteResult ( string $logPath ) : Hal\MutaTesting\Test\UnitCollectionInterface Get results of unit test suites by the file where the junit result is logged
parseTestedFiles ( Hal\MutaTesting\Test\UnitInterface &$unit ) : Hal\MutaTesting\Test\UnitInterface Parse tested files of the unit test and injects them in Unit::setTestedFiles()
run ( $path = null, array $options = [], $logFile = null, $prependFile = null, callable $callback = null )

Private Methods

Method Description
addInBootstrap ( $content, array &$options, $prependFile )
addInConfiguration ( $content, array &$options )

Method Details

__construct() public method

public __construct ( $binary, $testDirectory, array $options = [], Hal\MutaTesting\Runner\Process\ProcessManagerInterface $processManager = null )
$options array
$processManager Hal\MutaTesting\Runner\Process\ProcessManagerInterface

getSuiteResult() public method

Get results of unit test suites by the file where the junit result is logged
public getSuiteResult ( string $logPath ) : Hal\MutaTesting\Test\UnitCollectionInterface
$logPath string
return Hal\MutaTesting\Test\UnitCollectionInterface

parseTestedFiles() public method

Parse tested files of the unit test and injects them in Unit::setTestedFiles()
public parseTestedFiles ( Hal\MutaTesting\Test\UnitInterface &$unit ) : Hal\MutaTesting\Test\UnitInterface
$unit Hal\MutaTesting\Test\UnitInterface
return Hal\MutaTesting\Test\UnitInterface

run() public method

public run ( $path = null, array $options = [], $logFile = null, $prependFile = null, callable $callback = null )
$options array
$callback callable