Peridot\Configuration::setPath PHP Method

setPath() public method

Set the path to load tests from
public setPath ( string $path )
$path string
    public function setPath($path)
    {
        return $this->write('path', $path);
    }

Usage Example

 /**
  * Read configuration information from input
  *
  * @return Configuration
  */
 public function read()
 {
     $configuration = new Configuration();
     $options = ['grep' => [$configuration, 'setGrep'], 'no-colors' => [$configuration, 'disableColors'], 'force-colors' => [$configuration, 'enableColorsExplicit'], 'bail' => [$configuration, 'stopOnFailure'], 'configuration' => [$configuration, 'setConfigurationFile']];
     if ($path = $this->input->getArgument('path')) {
         $configuration->setPath($path);
     }
     foreach ($options as $option => $callable) {
         $this->callForOption($option, $callable);
     }
     return $configuration;
 }
All Usage Examples Of Peridot\Configuration::setPath