Skip to content

Commit 1bb3e5e

Browse files
Mohit.k.SharmaMohit.k.Sharma
authored andcommitted
MQE-1693 | Ability To Run MFTF JSON Configuration From File
1 parent bbab70d commit 1bb3e5e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Magento/FunctionalTestingFramework/Console/GenerateTestsCommand.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,10 @@ protected function execute(InputInterface $input, OutputInterface $output)
128128
return 1;
129129
}
130130

131+
if ($json !== null && is_file($json)) {
132+
$json = file_get_contents($json);
133+
}
134+
131135
if (!empty($tests)) {
132136
$json = $this->getTestAndSuiteConfiguration($tests);
133137
}

0 commit comments

Comments
 (0)