Method |
Description |
|
__construct ( $binary, $testDirectory, array $options = [], Hal\MutaTesting\Runner\Process\ProcessManagerInterface $processManager = null ) |
|
|
createFileSystemMock ( Hal\MutaTesting\Mutation\MutationInterface $mutation ) : string |
create a bootstrapper to mock file system:
the file mentionned in the mutation will be virtualized in the application and replaced
with own mutated file |
|
getBinary ( ) : string |
Get the binary used to run tests |
|
getLastCommand ( ) |
|
|
getOptions ( ) : array |
Get default options used to run tests |
|
getSuiteResult ( string $logPath ) : Hal\MutaTesting\Test\UnitCollectionInterface |
Get results of unit test suites by the file where the junit result is logged |
|
getTestDirectory ( ) : string |
Get the directory where test (root) are located |
|
parseTestedFiles ( Hal\MutaTesting\Test\UnitInterface &$unit ) |
|
|
run ( string $path = null, array $options = [], string $logFile = null, string $prependFile = null, callable $callback = null ) : string |
Run tests |
|
runMutation ( Hal\MutaTesting\Mutation\MutationInterface &$mutation, $options = [], $logFile = null, $prependFile = null, callable $callback = null ) : Hal\MutaTesting\Test\UnitInterface |
Runs a mutation |
|
runTests ( Hal\MutaTesting\Test\UnitCollectionInterface $collection, array $options = [], string $logFile = null, string $prependFile = null ) |
Run specific tests |
|
setProcessManager ( Hal\MutaTesting\Runner\Process\ProcessManagerInterface $processManager ) |
|
|