#38256 closed enhancement (maybelater)
Make use of PHPUnit's @requires notation
| Reported by: | johnbillion | Owned by: | johnbillion |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | Build/Test Tools | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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
@
10 years ago
IIRC there are also a few tests requiring the xdebug extension. Also, what about the image editor tests?
#3
@
10 years ago
- Resolution fixed
- Status closed → 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 38759: