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

WordPress Trac noreply at wordpress.org
Mon Sep 7 17:30:05 UTC 2020


#39265: Missing @covers in the comment blocks in PHPUnit tests
------------------------------+-----------------------------
 Reporter:  pbearne           |       Owner:  SergeyBiryukov
     Type:  enhancement       |      Status:  accepted
 Priority:  normal            |   Milestone:  5.6
Component:  Build/Test Tools  |     Version:  4.8
 Severity:  normal            |  Resolution:
 Keywords:                    |     Focuses:
------------------------------+-----------------------------

Comment (by TimothyBlynJacobs):

 @jrf Do you have suggestions on how `@covers` should be used with the REST
 API endpoint tests? We are generally doing more “end-to-end” like tests.
 In other words actually creating a request object and dispatching it to
 the server instead of calling the controller methods directly.

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


More information about the wp-trac mailing list