Peridot\Configuration::getPath PHP Method

getPath() public method

Return the path being searched for tests
public getPath ( ) : string
return string
    public function getPath()
    {
        return $this->path;
    }

Usage Example

Example #1
0
 /**
  * Return the result as an integer.
  *
  * @return int
  */
 protected function getResult()
 {
     $result = new TestResult($this->eventEmitter);
     $this->getLoader()->load($this->configuration->getPath());
     $this->factory->create($this->configuration->getReporter());
     $this->runner->run($result);
     if ($result->getFailureCount() > 0) {
         return 1;
     }
     return 0;
 }
All Usage Examples Of Peridot\Configuration::getPath