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

WordPress Trac noreply at wordpress.org
Mon Jun 13 16:42:32 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:"53495" 53495]:
 {{{
 #!CommitTicketReference repository="" revision="53495"
 Tests: Move helper functions in `Tests_Image_Functions` to more
 appropriate places.

 * Move a non-test specific helper function used by multiple tests up to
 the top of the class to make it more easily discoverable.
 * Move a test-specific helper function used by only one test to be
 directly below the test using the helper function and make the link with
 the test explicit by adding a `@see` tag.

 Follow-up to [1201/tests], [51415].

 Props jrf.
 See #55652.
 }}}

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


More information about the wp-trac mailing list