Beispiel #1
0
 protected function configure()
 {
     $this->setDefinition(array(new \Symfony\Component\Console\Input\InputOption('silent', '', InputOption::VALUE_NONE, 'Don\'t ask for rebuild')));
     parent::configure();
 }
Beispiel #2
0
 protected function configure()
 {
     $this->setDefinition(array(new InputArgument('suite', InputArgument::OPTIONAL, 'suite to be tested'), new InputArgument('test', InputArgument::OPTIONAL, 'test to be run'), new InputOption('config', 'c', InputOption::VALUE_OPTIONAL, 'Use custom path for config'), new InputOption('report', '', InputOption::VALUE_NONE, 'Show output in compact style'), new InputOption('html', '', InputOption::VALUE_NONE, 'Generate html with results'), new InputOption('xml', '', InputOption::VALUE_NONE, 'Generate JUnit XML Log'), new InputOption('tap', '', InputOption::VALUE_NONE, 'Generate Tap Log'), new InputOption('json', '', InputOption::VALUE_NONE, 'Generate Json Log'), new InputOption('colors', '', InputOption::VALUE_NONE, 'Use colors in output'), new InputOption('silent', '', InputOption::VALUE_NONE, 'Use colors in output'), new InputOption('steps', '', InputOption::VALUE_NONE, 'Show steps in output'), new InputOption('debug', 'd', InputOption::VALUE_NONE, 'Show debug and scenario output'), new InputOption('coverage', 'cc', InputOption::VALUE_NONE, 'Run with code coverage'), new InputOption('no-exit', '', InputOption::VALUE_NONE, 'Don\'t finish with exit code'), new InputOption('defer-flush', '', InputOption::VALUE_NONE, 'Don\'t flush output during run'), new InputOption('group', 'g', InputOption::VALUE_IS_ARRAY | InputOption::VALUE_REQUIRED, 'Run tests only from selected group. Pass multiple options for multiple groups')));
     parent::configure();
 }
Beispiel #3
0
 protected function configure()
 {
     $this->setDefinition(array(new InputArgument('suite', InputArgument::REQUIRED, 'suite to be tested'), new InputArgument('test', InputArgument::REQUIRED, 'test to be run'), new InputOption('config', 'c', InputOption::VALUE_OPTIONAL, 'Use custom path for config')));
     parent::configure();
 }
 protected function configure()
 {
     $this->setDefinition(array(new \Symfony\Component\Console\Input\InputArgument('suite', InputArgument::REQUIRED, 'suite from which tests should be generated')));
     parent::configure();
 }
Beispiel #5
0
 protected function configure()
 {
     $this->setDefinition(array(new \Symfony\Component\Console\Input\InputArgument('suite', InputArgument::OPTIONAL, 'suite to be tested'), new \Symfony\Component\Console\Input\InputArgument('test', InputArgument::OPTIONAL, 'test to be run'), new \Symfony\Component\Console\Input\InputOption('report', '', InputOption::VALUE_NONE, 'Show output in compact style'), new \Symfony\Component\Console\Input\InputOption('html', '', InputOption::VALUE_NONE, 'Generate html with results'), new \Symfony\Component\Console\Input\InputOption('xml', '', InputOption::VALUE_NONE, 'Generate JUnit XML Log'), new \Symfony\Component\Console\Input\InputOption('tap', '', InputOption::VALUE_NONE, 'Generate Tap Log'), new \Symfony\Component\Console\Input\InputOption('json', '', InputOption::VALUE_NONE, 'Generate Json Log'), new \Symfony\Component\Console\Input\InputOption('colors', '', InputOption::VALUE_NONE, 'Use colors in output'), new \Symfony\Component\Console\Input\InputOption('silent', '', InputOption::VALUE_NONE, 'Use colors in output'), new \Symfony\Component\Console\Input\InputOption('steps', '', InputOption::VALUE_NONE, 'Show steps in output'), new \Symfony\Component\Console\Input\InputOption('debug', '', InputOption::VALUE_NONE, 'Show debug and scenario output'), new \Symfony\Component\Console\Input\InputOption('no-exit', '', InputOption::VALUE_NONE, 'Dont\'t finish with exit code')));
     parent::configure();
 }
 protected function configure()
 {
     $this->setDefinition(array(new InputArgument('suite', InputArgument::REQUIRED, 'Suite where for StepObject'), new InputArgument('step', InputArgument::REQUIRED, 'StepObject name'), new InputOption('config', 'c', InputOption::VALUE_OPTIONAL, 'Use custom path for config'), new InputOption('force', '', InputOption::VALUE_NONE, 'skip verification question')));
     parent::configure();
 }
Beispiel #7
0
 protected function configure()
 {
     $this->setDefinition(array(new InputArgument('suite', InputArgument::REQUIRED, 'suite to be executed'), new InputOption('config', 'c', InputOption::VALUE_OPTIONAL, 'Use custom path for config'), new InputOption('colors', '', InputOption::VALUE_NONE, 'Use colors in output')));
     parent::configure();
 }
Beispiel #8
0
 protected function configure()
 {
     $this->setDefinition(array(new InputOption('silent', '', InputOption::VALUE_NONE, 'Don\'t ask for rebuild'), new InputOption('config', 'c', InputOption::VALUE_OPTIONAL, 'Use custom path for config')));
     parent::configure();
 }
 protected function configure()
 {
     $this->setDefinition(array(new InputArgument('suite', InputArgument::REQUIRED, 'Either suite name or page object name)'), new InputArgument('page', InputArgument::OPTIONAL, 'Page name of pageobject to represent'), new InputOption('config', 'c', InputOption::VALUE_OPTIONAL, 'Use custom path for config')));
     parent::configure();
 }
 protected function configure()
 {
     $this->setDefinition(array(new InputArgument('group', InputArgument::REQUIRED, 'Group class name'), new InputOption('config', 'c', InputOption::VALUE_OPTIONAL, 'Use custom path for config')));
     parent::configure();
 }
Beispiel #11
0
 protected function configure()
 {
     $this->setDefinition(array(new \Symfony\Component\Console\Input\InputArgument('suite', InputArgument::REQUIRED, 'suite to be tested'), new \Symfony\Component\Console\Input\InputArgument('test', InputArgument::REQUIRED, 'test to be run')));
     parent::configure();
 }
Beispiel #12
0
 protected function configure()
 {
     $this->setDefinition(array(new \Symfony\Component\Console\Input\InputArgument('suite', InputArgument::REQUIRED, 'suite to be generated'), new \Symfony\Component\Console\Input\InputArgument('guy', InputArgument::REQUIRED, 'name of new Guy class')));
     parent::configure();
 }
Beispiel #13
0
 protected function configure()
 {
     $this->setDefinition(array(new \Symfony\Component\Console\Input\InputArgument('suite', InputArgument::REQUIRED, 'suite where tests will be put'), new \Symfony\Component\Console\Input\InputArgument('class', InputArgument::REQUIRED, 'class to be tested')));
     parent::configure();
 }
Beispiel #14
0
 /**
  * {@inheritdoc}
  */
 protected function configure()
 {
     $this->filename = $_SERVER['argv'][0];
     $this->setDescription(sprintf('Upgrade <comment>%s</comment> to the latest version', $this->filename));
     parent::configure();
 }
 protected function configure()
 {
     $this->setDefinition(array(new InputArgument('namespace', InputArgument::REQUIRED, 'namespace to add for guy classes and helpers'), new InputOption('force', '', InputOption::VALUE_NONE, 'skip verification question'), new InputOption('config', 'c', InputOption::VALUE_OPTIONAL, 'Use custom path for config')));
     parent::configure();
 }
Beispiel #16
0
 protected function configure()
 {
     $this->setDefinition(array(new InputArgument('suite', InputArgument::REQUIRED, 'suite to be generated'), new InputArgument('guy', InputArgument::REQUIRED, 'name of new Guy class'), new InputOption('config', 'c', InputOption::VALUE_OPTIONAL, 'Use custom path for config')));
     parent::configure();
 }
Beispiel #17
0
 protected function configure()
 {
     $this->setDefinition($this->createDefinition())->setDescription('Analyzes for non-existent methods and adds them to corresponding helper');
     parent::configure();
 }
Beispiel #18
0
 protected function configure()
 {
     $this->setDefinition(array(new InputOption('config', 'c', InputOption::VALUE_OPTIONAL, 'Use custom path for config')));
     parent::configure();
 }
 protected function configure()
 {
     $this->setDefinition(array(new InputArgument('suite', InputArgument::REQUIRED, 'suite where tests will be put'), new InputArgument('class', InputArgument::REQUIRED, 'test name'), new InputOption('config', 'c', InputOption::VALUE_OPTIONAL, 'Use custom path for config')));
     parent::configure();
 }
Beispiel #20
0
 protected function configure()
 {
     $this->setDefinition(array(new InputArgument('suite', InputArgument::OPTIONAL, 'suite to be tested'), new InputArgument('test', InputArgument::OPTIONAL, 'test to be run'), new InputOption('config', 'c', InputOption::VALUE_REQUIRED, 'Use custom path for config'), new InputOption('report', '', InputOption::VALUE_NONE, 'Show output in compact style'), new InputOption('html', '', InputOption::VALUE_NONE, 'Generate html with results'), new InputOption('xml', '', InputOption::VALUE_NONE, 'Generate JUnit XML Log'), new InputOption('tap', '', InputOption::VALUE_NONE, 'Generate Tap Log'), new InputOption('json', '', InputOption::VALUE_NONE, 'Generate Json Log'), new InputOption('colors', '', InputOption::VALUE_NONE, 'Use colors in output'), new InputOption('no-colors', '', InputOption::VALUE_NONE, 'Force no colors in output (useful to override config file)'), new InputOption('silent', '', InputOption::VALUE_NONE, 'Only outputs suite names and final results'), new InputOption('steps', '', InputOption::VALUE_NONE, 'Show steps in output'), new InputOption('debug', 'd', InputOption::VALUE_NONE, 'Show debug and scenario output'), new InputOption('coverage', '', InputOption::VALUE_NONE, 'Run with code coverage'), new InputOption('no-exit', '', InputOption::VALUE_NONE, 'Don\'t finish with exit code'), new InputOption('defer-flush', '', InputOption::VALUE_NONE, 'Don\'t flush output during run'), new InputOption('group', 'g', InputOption::VALUE_IS_ARRAY | InputOption::VALUE_REQUIRED, 'Groups of tests to be executed'), new InputOption('skip', 's', InputOption::VALUE_IS_ARRAY | InputOption::VALUE_REQUIRED, 'Skip selected suites'), new InputOption('skip-group', '', InputOption::VALUE_IS_ARRAY | InputOption::VALUE_REQUIRED, 'Skip selected groups'), new InputOption('env', '', InputOption::VALUE_IS_ARRAY | InputOption::VALUE_REQUIRED, 'Run tests in selected environments.')));
     parent::configure();
 }
Beispiel #21
0
 protected function configure()
 {
     $this->setDefinition(array(new InputArgument('suite', InputArgument::REQUIRED, 'suite from which tests should be generated'), new InputOption('config', 'c', InputOption::VALUE_REQUIRED, 'Use specified config instead of default'), new InputOption('path', 'p', InputOption::VALUE_REQUIRED, 'Use specified path as destination instead of default'), new InputOption('single-file', '', InputOption::VALUE_NONE, 'Render all scenarios to only one file'), new InputOption('format', 'f', InputOption::VALUE_REQUIRED, 'Specify output format: html or text (default)'), new InputOption('config', 'c', InputOption::VALUE_REQUIRED, 'Use specified config instead of default')));
     parent::configure();
 }
Beispiel #22
0
 protected function configure()
 {
     $this->setDefinition(array(new \Symfony\Component\Console\Input\InputArgument('suite', InputArgument::REQUIRED, 'suite to analyze'), new \Symfony\Component\Console\Input\InputOption('config', 'c', InputOption::VALUE_REQUIRED, 'Use specified config instead of default')));
     parent::configure();
 }