public function setEnableCoverage($enable_coverage)Inherited
public function setEnableCoverage($enable_coverage)
Inherited
Parameters
$enable_coverage |
Return
wild |
public function setProjectRoot($project_root)Inherited
public function setProjectRoot($project_root)
Inherited
Parameters
$project_root |
Return
wild |
public function setCoverageFile($coverage_file)Inherited
public function setCoverageFile($coverage_file)
Inherited
Parameters
$coverage_file |
Return
wild |
public function setAffectedTests($affected_tests)Inherited
public function setAffectedTests($affected_tests)
Inherited
Parameters
$affected_tests |
Return
wild |
public function setStderr($stderr)Inherited
public function setStderr($stderr)
Inherited
Parameters
$stderr |
Return
wild |
public function parseTestResults($path, $test_results)
public function parseTestResults($path, $test_results)
ArcanistTestResultParser
Parse test results from provided input and return an array of ArcanistUnitTestResult.
ArcanistPhpunitTestResultParser
Parse test results from phpunit json report
Parameters
string | $path | Path to test. |
string | $test_results | String containing test results. |
Return
array |
private function readCoverage()
private function readCoverage()
Read the coverage from phpunit generated clover report
Return
array |
private function getJsonReport($json)
private function getJsonReport($json)
We need this non-sense to make json generated by phpunit valid.
Parameters
string | $json | String containing JSON report |
Return
array | JSON decoded array |