[wp-meta] [Making WordPress.org] #1614: Plugins API Unit Tests

Making WordPress.org noreply at wordpress.org
Tue Apr 19 06:01:02 UTC 2016


#1614: Plugins API Unit Tests
------------------------------+---------------------------------------
 Reporter:  obenland          |       Owner:  enej
     Type:  enhancement       |      Status:  assigned
 Priority:  normal            |   Milestone:  Plugin Directory v3 - M1
Component:  Plugin Directory  |  Resolution:
 Keywords:  has-patch         |
------------------------------+---------------------------------------

Comment (by pento):

 Core really feels like the wrong place to put these tests.

 The idea of these tests is clearly to catch changes to the API, but if the
 tests were in Core, it could be hours (or even days, during RC) between
 when a change is made to the API, and when the tests are run.

 I'd be more inclined to to add them to the API repo along with an
 appropriate `phpunit.xml`, so `phpunit` can easily be run before any
 changes are committed. (Having a pre-commit hook feel a bit excessive, but
 may be worth investigating.)

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/1614#comment:16>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list