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

WordPress Trac noreply at wordpress.org
Tue Sep 13 05:48:50 UTC 2022


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

 * keywords:  php8 has-patch has-unit-tests => php8 has-patch needs-testing


Comment:

 @pbearne thank you for reporting this. We reviewed this ticket during a
 recent bug-scrub session. Based on the feedback received here's a summary:
 01. Most of the test code does not use @cover or @uses notation yet.
 02. The patch needs testing.
 03. Adding needs-testing and removing has-unit-tests keyword.

 Cheers!

 Props: @priyomukul

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


More information about the wp-trac mailing list