[wp-trac] [WordPress Trac] #26999: Improve the layout of phpunit unit tests to gauge code coverage

WordPress Trac noreply at wordpress.org
Tue Dec 13 14:44:26 UTC 2016


#26999: Improve the layout of phpunit unit tests to gauge code coverage
------------------------------------------+-----------------------------
 Reporter:  wonderboymusic                |       Owner:
     Type:  enhancement                   |      Status:  new
 Priority:  normal                        |   Milestone:  Future Release
Component:  Build/Test Tools              |     Version:
 Severity:  normal                        |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |     Focuses:
------------------------------------------+-----------------------------

Comment (by pbearne):

 This is ticket has around a long time without any action.

 Suggestion: let's make it requirement that all new PHPUnit tests added to
 core have to include @covers and @uses

 I have created a ticket to hold all the updates to the existing tests
 https://core.trac.wordpress.org/ticket/39265#ticket

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


More information about the wp-trac mailing list