src/Behat/Behat/Output/Node/Printer/Helper/ResultToStringConverter.php
public function convertResultCodeToString($resultCode)
    {
        switch ($resultCode) {
            case TestResult::SKIPPED:
                return 'skipped';
            case TestResult::PENDING:
                return 'pending';
            case TestResult::FAILED:
                return 'failed';
            case StepResult::UNDEFINED:
                return 'undefined';
        }

        return 'passed';
    }
public function convertResultCodeToString($resultCode)
    {
        switch ($resultCode) {
            case TestResult::SKIPPED:
                return 'skipped';
            case TestResult::PENDING:
                return 'pending';
            case TestResult::FAILED:
                return 'failed';
            case StepResult::UNDEFINED:
                return 'undefined';
        }

        return 'passed';
    }
public function convertResultCodeToString ( $ resultCode ) { switch ( $ resultCode ) { case TestResult :: SKIPPED : return 'skipped' ; case TestResult :: PENDING : return 'pending' ; case TestResult :: FAILED : return 'failed' ; case StepResult :: UNDEFINED : return 'undefined' ; } return 'passed' ; }
Converts provided result code to a string.

@param integer $resultCode

@return string
Converts provided result code to a string .