PHP 클래스 Hal\MutaTesting\Runner\Adapter\AtoumAdapter

상속: extends BaseAdapter, implements Hal\MutaTesting\Runner\Adapter\AdapterInterface
파일 보기 프로젝트 열기: halleck45/mutatesting 1 사용 예제들

공개 메소드들

메소드 설명
__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