[wp-trac] [WordPress Trac] #55652: Test tool and unit test improvements for 6.1

WordPress Trac noreply at wordpress.org
Tue Jun 14 11:45:14 UTC 2022

#55652: Test tool and unit test improvements for 6.1
 Reporter:  hellofromTonya            |       Owner:  (none)
     Type:  task (blessed)            |      Status:  new
 Priority:  normal                    |   Milestone:  6.1
Component:  Build/Test Tools          |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:

Comment (by SergeyBiryukov):

 In [changeset:"53497" 53497]:
 #!CommitTicketReference repository="" revision="53497"
 Tests: Remove redundant skip call in

 The test bootstrap requires GD to be available, so this test skip
 condition will never be matched.

 Also, test skipping from within a helper method, which may be used in a
 data provider, can lead to test runtime errors.

 Follow-up to [49009], [49014], [49535], [49571], [51415].

 Props jrf.
 See #55652.

Ticket URL: <https://core.trac.wordpress.org/ticket/55652#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list