Changeset View
Changeset View
Standalone View
Standalone View
src/unit/engine/GoTestResultParser.php
<?php | <?php | ||||
/** | /** | ||||
* Go Test Result Parsing utility | * Go Test Result Parsing utility | ||||
* | * | ||||
* (To generate test output, run something like: `go test -v`) | * (To generate test output, run something like: `go test -v`) | ||||
*/ | */ | ||||
final class GoTestResultParser extends ArcanistBaseTestResultParser { | final class GoTestResultParser extends ArcanistTestResultParser { | ||||
/** | /** | ||||
* Parse test results from Go test report | * Parse test results from Go test report | ||||
* (e.g. `go test -v`) | * (e.g. `go test -v`) | ||||
* | * | ||||
* @param string $path Path to test | * @param string $path Path to test | ||||
* @param string $test_results String containing Go test output | * @param string $test_results String containing Go test output | ||||
* | * | ||||
▲ Show 20 Lines • Show All 118 Lines • Show Last 20 Lines |