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

WordPress Trac noreply at wordpress.org
Sun Oct 30 01:05:21 UTC 2022


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

Comment (by SergeyBiryukov):

 In [changeset:"54722" 54722]:
 {{{
 #!CommitTicketReference repository="" revision="54722"
 Tests: Rename classes in `phpunit/tests/ajax/` per the naming conventions.

 This updates the test classes to match the names of the functions being
 tested.

 Includes moving the `@covers` tags from individual test methods to the
 class DocBlocks.

 Reference: [https://make.wordpress.org/core/handbook/testing/automated-
 testing/writing-phpunit-tests/#naming-and-organization Writing PHP Tests:
 Naming and Organization].

 Follow-up to [47780], [48911], [49327], [50291], [50292], [50342],
 [50452], [50453], [50456], [50967], [50968], [50969], [51491], [51492],
 [51493], [51623], [51639], [51646], [51650], [51651], [51860], [52264],
 [52265], [53489], [53561], [54704].

 See #56793.
 }}}

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


More information about the wp-trac mailing list