PHP Класс Hal\MutaTesting\Runner\Adapter\AtoumAdapter

Наследование: extends BaseAdapter, implements Hal\MutaTesting\Runner\Adapter\AdapterInterface
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__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 )

Приватные методы

Метод Описание
addInBootstrap ( $content, array &$options, $prependFile )
addInConfiguration ( $content, array &$options )

Описание методов

__construct() публичный Метод

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

getSuiteResult() публичный Метод

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
Результат Hal\MutaTesting\Test\UnitCollectionInterface

parseTestedFiles() публичный Метод

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
Результат Hal\MutaTesting\Test\UnitInterface

run() публичный Метод

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