/** * Run specific tests * * @param \Hal\MutaTesting\Runner\Adapter\UnitCollectionInterface $collection * @param array $options * @param string $logFile * @param string $prependFile * @see Adapter::run() */ 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); }