We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b10cfa commit 5962f63Copy full SHA for 5962f63
dev/tests/acceptance/RoboFile.php
@@ -43,8 +43,13 @@ function buildProject()
43
* @param array $opts
44
* @return void
45
*/
46
- function generateTests($opts = ['config' => null])
+ function generateTests($opts = ['config' => null, 'force' => false])
47
{
48
+ if ($opts['force'])
49
+ {
50
+ $GLOBALS['FORCE_PHP_GENERATE'] = true;
51
+ }
52
+
53
require 'tests'. DIRECTORY_SEPARATOR . 'functional' . DIRECTORY_SEPARATOR . '_bootstrap.php';
54
\Magento\FunctionalTestingFramework\Util\TestGenerator::getInstance()->createAllTestFiles($opts['config']);
55
$this->say("Generate Tests Command Run");
0 commit comments