pho\Runner\Runner::runSuite PHP Method

runSuite() private method

Runs a particular suite by running the associated hooks and reporter, methods, iterating over its child suites and recursively calling itself, followed by running its specs.
private runSuite ( pho\Suite\Suite $suite )
$suite pho\Suite\Suite The suite to run
    private function runSuite(Suite $suite)
    {
        $this->runRunnable($suite->getHook('before'));
        $this->reporter->beforeSuite($suite);
        // Run the specs
        $this->runSpecs($suite);
        // Run nested suites
        foreach ($suite->getSuites() as $nestedSuite) {
            $this->runSuite($nestedSuite);
        }
        $this->reporter->afterSuite($suite);
        $this->runRunnable($suite->getHook('after'));
    }