[wp-trac] [WordPress Trac] #50640: [PHPUnit] Mark test as skipped instead of failing if GD extension is not availble
WordPress Trac
noreply at wordpress.org
Sun Jul 12 21:00:23 UTC 2020
#50640: [PHPUnit] Mark test as skipped instead of failing if GD extension is not
availble
------------------------------+------------------------------
Reporter: ayeshrajans | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch close | Focuses:
------------------------------+------------------------------
Changes (by johnbillion):
* keywords: has-patch => has-patch close
Comment:
The problem with skipping tests when the platform requirements aren't met
is that it removes assurance that the tests are actually running. If the
test infrastructure changes in the future and a platform requirement such
as `gd` gets accidentally gets removed, the tests should fail.
I recommend wontfix as this reduces the reliability of the tests.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50640#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list