[wp-trac] [WordPress Trac] #39265: Missing @covers in the comment blocks in PHPUnit tests

WordPress Trac noreply at wordpress.org
Tue Jun 15 20:39:16 UTC 2021


#39265: Missing @covers in the comment blocks in PHPUnit tests
-------------------------------------------+-----------------------------
 Reporter:  pbearne                        |       Owner:  hellofromTonya
     Type:  task (blessed)                 |      Status:  assigned
 Priority:  normal                         |   Milestone:  5.8
Component:  Build/Test Tools               |     Version:  4.8
 Severity:  normal                         |  Resolution:
 Keywords:  php8 has-patch has-unit-tests  |     Focuses:
-------------------------------------------+-----------------------------
Changes (by hellofromTonya):

 * owner:  SergeyBiryukov => hellofromTonya
 * status:  accepted => assigned


Comment:

 Note for all:
 [https://github.com/WordPress/wordpress-develop/pull/1255 PR 1255]
 includes:
 - all the remaining `@covers` except for the REST API (which needs
 discussion)
 - adds `forceCoversAnnotation="true"` to the config

 @SergeyBiryukov and @desrosj => This week I'm doing a deep dive code
 review of the PR. As each instance needs review to understand the intent
 of each test (i.e. what is the specific purpose of the test), it'll take
 some time and effort. Hoping to have it finished end of week.

 Assigning ownership to me for this review process. Once done, I'll ping
 you both for final review and commit consideration.

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


More information about the wp-trac mailing list