public function configure() { parent::configure(); $this->name = 'all'; $this->briefDescription = 'Runs all PHPUnit tests for the project.'; $this->detailedDescription = <<<END Runs all PHPUnit tests for the project. END; $this->_type = ''; }
public function configure() { parent::configure(); $this->addArguments(array(new sfCommandArgument('path', sfCommandArgument::OPTIONAL | sfCommandArgument::IS_ARRAY, 'Specify the relative paths to specific test files and/or directories under sf_root_dir/test/unit. If no arguments are provided, all unit tests will be run.', null))); $this->name = 'unit'; $this->briefDescription = 'Runs all PHPUnit unit tests for the project.'; $this->detailedDescription = <<<END Runs PHPUnit unit tests for the project. END; $this->_type = 'unit'; }