[wp-trac] [WordPress Trac] #39265: Missing @covers and @uses in the comments block in phpunt test for wordpress

WordPress Trac noreply at wordpress.org
Sun Aug 23 14:00:57 UTC 2020


#39265: Missing @covers and @uses in the comments block in phpunt test for
wordpress
------------------------------+---------------------
 Reporter:  pbearne           |       Owner:  (none)
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  5.6
Component:  Build/Test Tools  |     Version:  4.8
 Severity:  normal            |  Resolution:
 Keywords:                    |     Focuses:
------------------------------+---------------------

Comment (by jrf):

 Oh and regarding the `@uses` tag - I would leave that out, using that tag
 in combination with the `beStrictAboutCoversAnnotation=true` setting will
 mark a test as "Risky" if code is executed during the test which is not
 annotated via `@covers` or `@uses` tags.

 That would make the maintainance of the tags very fiddly, while adding
 little additional value for this test code base.

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


More information about the wp-trac mailing list