[wp-trac] [WordPress Trac] #33867: Unit tests to protect against breaking pluggable function changes

WordPress Trac noreply at wordpress.org
Mon Sep 14 19:14:40 UTC 2015


#33867: Unit tests to protect against breaking pluggable function changes
------------------------------+--------------------------
 Reporter:  johnbillion       |       Owner:  johnbillion
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  4.4
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch         |     Focuses:
------------------------------+--------------------------
Changes (by johnbillion):

 * owner:   => johnbillion
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"34126"]:
 {{{
 #!CommitTicketReference repository="" revision="34126"
 Implement unit tests which use reflection to test functions in
 pluggable.php. This means any changes to these functions will need
 explicit changes to their corresponding tests, which helps prevent
 unintentional breakage.

 Fixes #33867
 }}}

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


More information about the wp-trac mailing list