#38256 closed enhancement (maybelater)
Make use of PHPUnit's @requires notation
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | low | |
Severity: | normal | Version: | |
Component: | Build/Test Tools | Keywords: | |
Focuses: | Cc: |
Description
Several unit tests include logic to skip the test if certain extensions or functions aren't available. PHPUnit has native support for this functionality in the form of @requires
headers, so it may as well be used.
Change History (5)
#2
@
9 years ago
IIRC there are also a few tests requiring the xdebug extension. Also, what about the image editor tests?
#3
@
9 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
Looks like it causes a couple of test failures on PHP 5.2, see https://travis-ci.org/aaronjorbin/develop.wordpress/jobs/165976994#L387
Note: See
TracTickets for help on using
tickets.
In 38759: