[wp-trac] [WordPress Trac] #28558: Add a link to unit tests in function comment block

WordPress Trac noreply at wordpress.org
Thu Dec 25 07:51:58 UTC 2014


#28558: Add a link to unit tests in function comment block
------------------------------+----------------------
 Reporter:  pbearne           |       Owner:
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:  wontfix
 Keywords:                    |     Focuses:  docs
------------------------------+----------------------
Changes (by DrewAPicture):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Future Release =>


Comment:

 I'm going to close this as wontfix. We talked about this at the community
 summit in October, and the consensus was that that introducing a custom
 phpDoc tag in this context would ultimately result in bloat on the core
 docs side.

 I've been talking with @boonebgorges and @wonderboymusic to examine
 whether we can leverage built-in phpunit functionality to generate a
 variety of code coverage reports. This would be something publicly
 available on the developer hub.

 We also may have an opportunity to generate an index of test coverage in
 core that should provide the straight-line comparison you're seeking here.
 Either way, the recommendation going forward would be to approach this
 from a phpunit-to-core direction, instead of the other way around.

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


More information about the wp-trac mailing list