Magestead\Installers\MagentoProject::configureTestSuites PHP Method

configureTestSuites() protected method

protected configureTestSuites ( array $options, $projectPath, Symfony\Component\Console\Output\OutputInterface $output ) : ProcessCommand
$options array
$projectPath
$output Symfony\Component\Console\Output\OutputInterface
return Magestead\Command\ProcessCommand
    protected function configureTestSuites(array $options, $projectPath, OutputInterface $output)
    {
        $output->writeln('<info>Configuring PHPSpec & Behat Suites</info>');
        $progress = new ProgressBar($output, 2);
        $progress->start();
        copy($projectPath . "/puphpet/magestead/magento/stubs/phpspec.yml", $projectPath . "/phpspec.yml");
        $progress->advance();
        $progress->advance();
        //        $behat = $this->getBehatConfig($options, $projectPath, $output);
        //        $this->saveBehatConfig($projectPath, $output, $behat, $progress);
        $progress->finish();
        echo "\n";
        new ProcessCommand('bin/phpspec r', $projectPath, $output);
        return new ProcessCommand('bin/behat --init', $projectPath, $output);
    }