Mutagenesis\Renderer\Text::renderProgressMark PHP 메소드

renderProgressMark() 공개 메소드

Render a progress marker indicating the execution of a single mutation and the successful execution of the related test suite
public renderProgressMark ( boolean $result ) : string
$result boolean Whether unit tests passed (bad) or not (good)
리턴 string
    public function renderProgressMark($result)
    {
        if ($result === 'timed out') {
            return 'T';
        } elseif ($result) {
            return 'E';
        } else {
            return '.';
        }
    }