Tester\Runner\Job::getOutput PHP Method

getOutput() public method

Returns test output.
public getOutput ( ) : string
return string
    public function getOutput()
    {
        return $this->output;
    }

Usage Example

Esempio n. 1
1
 private function assessOutputMatch(Job $job, $content)
 {
     if (!Tester\Assert::isMatching($content, $job->getOutput())) {
         Dumper::saveOutput($job->getFile(), $job->getOutput(), '.actual');
         Dumper::saveOutput($job->getFile(), $content, '.expected');
         return array(Runner::FAILED, 'Failed: output should match ' . Dumper::toLine(rtrim($content)));
     }
 }
All Usage Examples Of Tester\Runner\Job::getOutput