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 f472b8b commit 5877f0dCopy full SHA for 5877f0d
dev/tests/acceptance/RoboFile.php
@@ -43,8 +43,15 @@ 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
+ $GLOBALS['GENERATE_TESTS'] = true;
49
+
50
+ if ($opts['force'])
51
+ {
52
+ $GLOBALS['FORCE_PHP_GENERATE'] = true;
53
+ }
54
55
require 'tests'. DIRECTORY_SEPARATOR . 'functional' . DIRECTORY_SEPARATOR . '_bootstrap.php';
56
\Magento\FunctionalTestingFramework\Util\TestGenerator::getInstance()->createAllTestFiles($opts['config']);
57
$this->say("Generate Tests Command Run");
0 commit comments