[wp-trac] [WordPress Trac] #53010: Tests: introduce namespacing for the test classes

WordPress Trac noreply at wordpress.org
Wed Dec 24 23:51:32 UTC 2025


#53010: Tests: introduce namespacing for the test classes
--------------------------------------+------------------------------------
 Reporter:  jrf                       |       Owner:  SergeyBiryukov
     Type:  task (blessed)            |      Status:  assigned
 Priority:  normal                    |   Milestone:  7.0
Component:  Build/Test Tools          |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  docs, coding-
                                      |  standards
--------------------------------------+------------------------------------

Comment (by SergeyBiryukov):

 In [changeset:"61407" 61407]:
 {{{
 #!CommitTicketReference repository="" revision="61407"
 Tests: Rename the `admin/includesUser.php` test file to be more
 descriptive.

 * Include the path, file name, and function name to better indicate the
 tested function.
 * Move `@covers` annotation to the test class level.

 Follow-up to [49109].

 Props poena.
 See #53010.
 }}}

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


More information about the wp-trac mailing list