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

WordPress Trac noreply at wordpress.org
Tue Oct 21 14:33:15 UTC 2014


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

 DrewAPicture brings up the `@covers` annotation in IRC:
 https://irclogs.wordpress.org/chanlog.php?channel=wordpress-
 dev&day=2014-10-21&sort=asc#m944227

 https://phpunit.de/manual/current/en/appendixes.annotations.html#appendixes.annotations.covers
 http://blog.teamlazerbeez.com/2009/08/18/phpunit-annotations/#covers

 We should still strive for decent organization for other reasons, but I
 think that `@covers` is probably the best way for us to gauge coverage.

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


More information about the wp-trac mailing list