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

WordPress Trac noreply at wordpress.org
Fri Jun 18 14:23:55 UTC 2021


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

Comment (by spacedmonkey):

 Just a heads up, I have been supporting @pbearne with adding covers to
 REST API tests.

 Here is the [https://github.com/WordPress/wordpress-
 develop/compare/master...spacedmonkey:fix/covers?expand=1 diff]. These are
 the endpoints I have worked on. But the name of the methods maps to the
 method in the class pretty well, should be easy to do the rest.

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


More information about the wp-trac mailing list