[wp-trac] [WordPress Trac] #46815: Add PHPUnit setup to composer.json
WordPress Trac
noreply at wordpress.org
Fri Apr 5 15:57:25 UTC 2019
#46815: Add PHPUnit setup to composer.json
------------------------------+------------------------------------
Reporter: welcher | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Build/Test Tools | Version:
Severity: normal | Keywords: has-patch dev-feedback
Focuses: |
------------------------------+------------------------------------
Setting up the correct version of PHPUnit to run tests locally can be
difficult and confusing. It is also different depending on what is being
used as the web server ( MAMP, VVV, etc ). This can be simplified to some
extent by leveraging composer to install the correct, compatible PHPUnit
version and provide a script to run the tests.
The attached patch adds PHPunit as a dev dependency and introduces a
`unit-tests` composer command.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46815>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list