Alex\BehatLauncher\Behat\RunUnit::prepareOutput PHP Method

prepareOutput() public method

Starts the unit execution
public prepareOutput ( Project $project ) : Process
$project Project
return Symfony\Component\Process\Process
    public function prepareOutput(Project $project)
    {
        $formats = $project->getFormats();
        foreach ($formats as $format) {
            $this->outputFiles->get($format)->setContent('');
        }
        $this->outputFiles->get('_stdout')->setContent('');
        $this->outputFiles->get('_stderr')->setContent('');
    }