Skip to content
Extraits de code Groupes Projets
Valider 16b6a37c rédigé par mattab's avatar mattab
Parcourir les fichiers

Set help message, how to run only one UI test spec file

parent 1cf10b2e
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -22,6 +22,10 @@ class TestsRunUI extends ConsoleCommand ...@@ -22,6 +22,10 @@ class TestsRunUI extends ConsoleCommand
{ {
$this->setName('tests:run-ui'); $this->setName('tests:run-ui');
$this->setDescription('Run screenshot tests'); $this->setDescription('Run screenshot tests');
$this->setHelp("Example Commands
\nRun one spec:
\n./console tests:run-ui UIIntegrationTest
");
$this->addArgument('specs', InputArgument::OPTIONAL | InputArgument::IS_ARRAY, 'Run only a specific test spec. Separate multiple specs by comma, for instance core,integration', array()); $this->addArgument('specs', InputArgument::OPTIONAL | InputArgument::IS_ARRAY, 'Run only a specific test spec. Separate multiple specs by comma, for instance core,integration', array());
$this->addOption("persist-fixture-data", null, InputOption::VALUE_NONE, "Persist test data in a database and do not execute tear down."); $this->addOption("persist-fixture-data", null, InputOption::VALUE_NONE, "Persist test data in a database and do not execute tear down.");
$this->addOption('keep-symlinks', null, InputOption::VALUE_NONE, "Keep recursive directory symlinks so test pages can be viewed in a browser."); $this->addOption('keep-symlinks', null, InputOption::VALUE_NONE, "Keep recursive directory symlinks so test pages can be viewed in a browser.");
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter