src/Console/Controller/SpecController.php
public function executeAction()
    {
        if ($this->isUsage()) return [self::FORWARD_ACTION, 'spec.usage'];

        // production
        if ($this->application->isProduction() && ! $this->response->confirmation('May I execute spec in production environment ?')) {
            $this->send('aborted.');
            return;
        }

        $this->setup();
        $this->run();
    }
public function executeAction()
    {
        if ($this->isUsage()) return [self::FORWARD_ACTION, 'spec.usage'];

        // production
        if ($this->application->isProduction() && ! $this->response->confirmation('May I execute spec in production environment ?')) {
            $this->send('aborted.');
            return;
        }

        $this->setup();
        $this->run();
    }
public function executeAction ( ) { if ( $ this -> isUsage ( ) ) return [ self :: FORWARD_ACTION , 'spec.usage' ] ; // production if ( $ this -> application -> isProduction ( ) && ! $ this -> response -> confirmation ( 'May I execute spec in production environment ?' ) ) { $ this -> send ( 'aborted.' ) ; return ; } $ this -> setup ( ) ; $ this -> run ( ) ; }
execute spec files.

spec step is...

1. setup
4. run spec.

@access  public
execute spec files .