src/package/Data/Repositories/Support/Helpers.php
protected function getOutput($test, $outputFolder, $extension)
    {
        if (empty($outputFolder)) {
            return;
        }

        $file = replace_suite_paths($test->suite, make_path([
            make_path([$test->suite->project->path, $outputFolder]),
            str_replace(['.php', '::', '\\', '/'], ['', '.', '', ''], $test->name).$extension,
        ]));

        return file_exists($file) ? $this->renderHtml(file_get_contents($file)) : null;
    }
protected function getOutput($test, $outputFolder, $extension)
    {
        if (empty($outputFolder)) {
            return;
        }

        $file = replace_suite_paths($test->suite, make_path([
            make_path([$test->suite->project->path, $outputFolder]),
            str_replace(['.php', '::', '\\', '/'], ['', '.', '', ''], $test->name).$extension,
        ]));

        return file_exists($file) ? $this->renderHtml(file_get_contents($file)) : null;
    }
protected function getOutput ( $ test , $ outputFolder , $ extension ) { if ( empty ( $ outputFolder ) ) { return ; } $ file = replace_suite_paths ( $ test -> suite , make_path ( [ make_path ( [ $ test -> suite -> project -> path , $ outputFolder ] ) , str_replace ( [ '.php' , '::' , '\\' , '/' ] , [ '' , '.' , '' , '' ] , $ test -> name ) . $ extension , ] ) ) ; return file_exists ( $ file ) ? $ this -> renderHtml ( file_get_contents ( $ file ) ) : null ; }
Get the test output.

@param $test
@param $outputFolder
@param $extension

@return null|string
Get the test output .