Skip to content

Commit 60fc571

Browse files
committed
MQE-1582: Enable Testers To Run Skipped Tests
- CR Fixes
1 parent 75cc720 commit 60fc571

File tree

3 files changed

+5
-13
lines changed

3 files changed

+5
-13
lines changed

src/Magento/FunctionalTestingFramework/Console/BaseGenerateCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ protected function configure()
3333
"force",
3434
'f',
3535
InputOption::VALUE_NONE,
36-
'force generation of tests regardless of Magento Instance Configuration'
36+
'force generation and running of tests regardless of Magento Instance Configuration'
3737
)->addOption(
3838
"allowSkipped",
3939
'a',
@@ -43,7 +43,7 @@ protected function configure()
4343
'debug',
4444
'd',
4545
InputOption::VALUE_OPTIONAL,
46-
'Run extra validation when running tests. Use option \'none\' to turn off debugging --
46+
'Run extra validation when generating and running tests. Use option \'none\' to turn off debugging --
4747
added for backward compatibility, will be removed in the next MAJOR release',
4848
MftfApplicationConfig::LEVEL_DEFAULT
4949
);

src/Magento/FunctionalTestingFramework/Console/GenerateTestsCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,10 @@ protected function execute(InputInterface $input, OutputInterface $output)
123123
* @throws \Magento\FunctionalTestingFramework\Exceptions\XmlException
124124
*/
125125
private function createTestConfiguration(
126-
$json,
126+
string $json,
127127
array $tests,
128128
bool $force,
129-
$debug,
129+
string $debug,
130130
bool $verbose,
131131
bool $allowSkipped
132132
) {

src/Magento/FunctionalTestingFramework/Console/RunTestFailedCommand.php

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,7 @@ class RunTestFailedCommand extends BaseGenerateCommand
5050
protected function configure()
5151
{
5252
$this->setName('run:failed')
53-
->setDescription('Execute a set of tests referenced via failed file')
54-
->addOption(
55-
'debug',
56-
'd',
57-
InputOption::VALUE_OPTIONAL,
58-
'Run extra validation when running failed tests. Use option \'none\' to turn off debugging --
59-
added for backward compatibility, will be removed in the next MAJOR release',
60-
MftfApplicationConfig::LEVEL_DEFAULT
61-
);
53+
->setDescription('Execute a set of tests referenced via failed file');
6254

6355
parent::configure();
6456
}

0 commit comments

Comments
 (0)