ParaTest\Runners\PHPUnit\BaseRunner::load PHP Method

load() protected method

Builds the collection of pending ExecutableTest objects to run. If functional mode is enabled $this->pending will contain a collection of TestMethod objects instead of Suite objects
protected load ( )
    protected function load()
    {
        $loader = new SuiteLoader($this->options);
        $loader->load($this->options->path);
        $executables = $this->options->functional ? $loader->getTestMethods() : $loader->getSuites();
        $this->pending = array_merge($this->pending, $executables);
        foreach ($this->pending as $pending) {
            $this->printer->addTest($pending);
        }
    }