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

Making WordPress.org noreply at wordpress.org
Tue Apr 5 12:42:41 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 dd32):

 > hot_categoreis number doesn't do anything. We always return 8
 categories.

 Just noting that the `hot_categories` endpoint is an unreleased endpoint
 and should not be tested. It's output is not yet known/standardised and
 will change (or be removed) without any back-compat thoughts.

 > Should we add tests for the XML endpoints?
 That depends on what you're testing - The data or the format.
 I would assume you'd test the data structure is within "Expected" ranges,
 so XML/PHP/Json shouldn't really matter.
 That being said, all the formats have the potential to encode the data
 differently, so you would test them all.. but realistically we don't care
 about that angle.

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


More information about the wp-meta mailing list