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

WordPress Trac noreply at wordpress.org
Tue Mar 21 19:59:48 UTC 2017


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

Comment (by pbearne):

 Hi @jnylen0

 How would we go about providing automated code coverage reports on a line-
 by-line basis? This would good but can it be done?


 A good test will only be testing one function so I expect to see just one
 @covers per test.

 We went through the code base and add comments to actions and filters this
 a smaller task and we already have volunteers to do the heavy lifting who
 just waiting for the OK to get started

 Paul

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


More information about the wp-trac mailing list