[wp-trac] [WordPress Trac] #14994: Introduce a way to identify a hook in progress

WordPress Trac noreply at wordpress.org
Fri Jan 31 20:09:47 UTC 2014


#14994: Introduce a way to identify a hook in progress
------------------------------+------------------
 Reporter:  nacin             |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  3.9
Component:  Plugins           |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:
------------------------------+------------------
Changes (by nacin):

 * keywords:  has-patch commit needs-unit-tests => has-patch commit


Comment:

 Replying to [comment:13 Denis-de-Bernardy]:
 > If you insist on getting unit tests for this, at least mandate proper
 tests that actually use the relevant WP API

 What ericmann wrote are textbook unit tests. Most of our tests are
 actually integration tests, yes, and it would help to also have such tests
 that use the API fully. But there's nothing wrong with the mocking done
 here.

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


More information about the wp-trac mailing list