[wp-trac] [WordPress Trac] #54008: Fix Grunt tasks for PHPUnit
WordPress Trac
noreply at wordpress.org
Wed Aug 25 17:58:33 UTC 2021
#54008: Fix Grunt tasks for PHPUnit
------------------------------+--------------------
Reporter: azaozz | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.9
Component: Build/Test Tools | Version: 5.8
Severity: normal | Keywords:
Focuses: |
------------------------------+--------------------
#53015, [51016] made it impossible to use global installations of PHPUnit.
Now Grunt requires to have PHPUnit (and Composer?) installed locally in
every directory that needs to be tested.
This causes `grunt test` and `grunt phpunit` to fail when PHPUnit and the
PHPUnit Polyfills are installed globally, like when using wp-env/Docker
image.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54008>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list