WordPress API Client
This client software is the reference implementation of an API client for the
JSON REST API and also the independent
testing suite for the API., (*1)
The API client library, testing software is ISC Licensed (similar to
the new BSD license) and depends only on Requests, which is bundled with the
client., (*2)
(Eventually, this will use Composer instead, and allow using other client
libraries.), (*3)
Running the Tests
To run the API test suite, simply execute the following:, (*4)
$ cd tests/
$ phpunit
You can also add Client
or Server
after phpunit
to test a single component
from these., (*5)