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

Making WordPress.org noreply at wordpress.org
Thu Mar 31 07:14:05 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:                    |

Comment (by enej):

 In diff wp-org-plugin-api-test-v3.diff
 I added more test that test each of the different cases and also added
 tests for
 - tag, author, user, browse, installed_plugins, and fields

 Some inconsistancies that i noticed between the documentation and what I
 got back from the api
 1. group fields doesn't seem to do anything since it doesn't show up for
 most plugins.
 2. is_ssl is always set to true by default.
 3. hot_categoreis number doesn't do anything. We always return 8
 4. Also the reviews gets returns on the section field. Which is not
 specified in the documentation.

 All the tests in the diff pass but should include all the inconsistencies
 to be complete.
 Let me know if you want me to add assertions for them.

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

More information about the wp-meta mailing list