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

WordPress Trac noreply at wordpress.org
Fri Mar 24 14:58:55 UTC 2023


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

Comment (by SergeyBiryukov):

 In [changeset:"55588" 55588]:
 {{{
 #!CommitTicketReference repository="" revision="55588"
 Tests: Move the `wp_list_pages()` test for CSS classes to a more
 appropriate place.

 Back when this test was introduced, `wp_list_pages()` did not have its own
 test class.

 It does now, so the test can be moved there, instead of being hidden among
 `get_pages()` tests.

 Includes:
 * Updating the test name for clarity.
 * Adding an unique message for each assertion.

 Follow-up to [27755], [28400].

 See #57841.
 }}}

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


More information about the wp-trac mailing list