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

WordPress Trac noreply at wordpress.org
Mon Jun 20 22:04:44 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:"53541" 53541]:
 #!CommitTicketReference repository="" revision="53541"
 Tests: Further improve `Tests_Image_Functions::test_wp_crop_image*()`

 * Making the test method names more specific.
 * Converting one-off helper methods to static closures.
 * Adding a failure message to each assertion when multiple assertions are
 used in the test.

 Follow-up to [1126/tests], [1201/tests], [53292], [53495], [53522],

 See #55652.

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

More information about the wp-trac mailing list