Hal\MutaTesting\Runner\Adapter\BaseAdapter::runTests PHP Метод

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

Run specific tests
См. также: Adapter::run()
public runTests ( Hal\MutaTesting\Test\UnitCollectionInterface $collection, array $options = [], string $logFile = null, string $prependFile = null )
$collection Hal\MutaTesting\Test\UnitCollectionInterface
$options array
$logFile string
$prependFile string
    public function runTests(UnitCollectionInterface $collection, array $options = array(), $logFile = null, $prependFile = null)
    {
        $path = '';
        foreach ($collection->all() as $unit) {
            $path .= ' ' . $unit->GetTestFile();
        }
        $this->run($path, $options, $logFile, $prependFile);
    }