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

WordPress Trac noreply at wordpress.org
Thu Jan 15 02:43:18 UTC 2015


#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 sgrant):

 Pinging again with a few more refactors in the formatting directory. This
 maps tests to the source files, which seems like a more logical way to
 understand where a new test should go, and with @covers annotation, should
 make it easier to gauge coverage.

 This doesn't change any behaviour, of course--it just moves tests around
 based on the source code they're testing, while still retaining the @group
 notation.

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


More information about the wp-trac mailing list