for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace PHPRealCoverage\TestRunner;
class PHPUnitRunner
{
/**
* @var MultirunTestCommand
*/
private $testCommand;
private $args;
public function __construct(MultirunTestCommand $testCommand, array $args)
$this->testCommand = $testCommand;
$this->args = $args;
}
public function isValid()
ob_start();
$result = $this->getRunResult();
ob_end_clean();
return $result;
* @return bool
private function getRunResult()
return $this->testCommand->run($this->args, false) === 0;