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

WordPress Trac noreply at wordpress.org
Mon Feb 3 17:28:28 UTC 2014


#26999: Improve the layout of unit tests to gauge code coverage
------------------------------+------------------------------------------
 Reporter:  wonderboymusic    |      Owner:
     Type:  enhancement       |     Status:  new
 Priority:  normal            |  Milestone:  Future Release
Component:  Build/Test Tools  |    Version:  trunk
 Severity:  normal            |   Keywords:  needs-patch needs-unit-tests
  Focuses:                    |
------------------------------+------------------------------------------
 Some groups of unit tests are laid out better than others. To improve code
 coverage, we should be able to map files or features to a defined set of
 files/folders. Sure, we have "post" and "query" and whatnot, but the
 overlap between the 2 makes it impossible to understand what "should" go
 in each file. Every time I write a unit test, I am placing the new tests
 in a best-guess (or, most of the time, arbitrary) location.

 This is a spike ticket for cleanup and improvements. If this picks up
 steam from me or any others, might move to 3.9.

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


More information about the wp-trac mailing list