[wp-meta] [Making WordPress.org] #1614: Plugins API Unit Tests
Making WordPress.org
noreply at wordpress.org
Fri Mar 18 22:03: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: |
------------------------------+---------------------------------------
Comment (by obenland):
In [attachment:1614.diff]:
* Use Jetpack instead of Hello Dolly to get a richer response.
* Refactored attribute tests to be reusable (except for `query_plugins`).
* Switched array tests to use `assertAttributeInternalType()`.
Next steps could be to look at
https://developer.wordpress.org/reference/functions/plugins_api/ and start
writing tests for different arguments and check if fields are returned
correctly when added or removed in the request.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/1614#comment:8>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list