We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to parse a PHP constant to grunt-phpunit using options d:
grunt-phpunit
d:
Specifically I am trying to add this: <const name="WP_TESTS_MULTISITE" value="1" /> (Source)
<const name="WP_TESTS_MULTISITE" value="1" />
My Gruntfile.js looks like this:
phpunit: { 'default': { dir: TESTS_DIR + 'phpunit/testcases/', configuration: 'phpunit.xml', }, multisite: { dir: TESTS_DIR + 'phpunit/', configuration: TESTS_DIR + 'phpunit/multisite.xml', d: WP_TESTS_MULTISITE[1], }, options: { bin: "phpunit", bootstrap: TESTS_DIR + 'phpunit/bootstrap.php', } },
I'm always getting the following error: option --d doesn't allow an argument Fatal error: Command failed:
option --d doesn't allow an argument Fatal error: Command failed:
The PHPUnit docs Setting PHP INI settings, Constants and Global Variables
Per the PHPUnit docs Command-Line switches I should be able to do: -d key[=value]
-d key[=value]
I could be getting the syntax incorrect but have tried various combinations to no avail.
The text was updated successfully, but these errors were encountered:
Fix d option to override php.ini settings (org issue SaschaGalley#25)
a2475c8
No branches or pull requests
I'm trying to parse a PHP constant to
grunt-phpunit
using optionsd:
Specifically I am trying to add this:
<const name="WP_TESTS_MULTISITE" value="1" />
(Source)My Gruntfile.js looks like this:
I'm always getting the following error:
option --d doesn't allow an argument Fatal error: Command failed:
The PHPUnit docs Setting PHP INI settings, Constants and Global Variables
Per the PHPUnit docs Command-Line switches I should be able to do:
-d key[=value]
I could be getting the syntax incorrect but have tried various combinations to no avail.
The text was updated successfully, but these errors were encountered: