Currently I'm working on implementing unit/integration testing for this library by mocking the API server with test data.
The easiest and probably most suitable solution I've come up with so far is by supplying the test data in form of a data file (JSON/YAML/XML) and then set up the HTTP server to generate its output from the supplied data (the test data should not contain duplicate data, for example multiple listings of the same fixture in different query contexts).
Currently I'm working on implementing unit/integration testing for this library by mocking the API server with test data.
The easiest and probably most suitable solution I've come up with so far is by supplying the test data in form of a data file (JSON/YAML/XML) and then set up the HTTP server to generate its output from the supplied data (the test data should not contain duplicate data, for example multiple listings of the same fixture in different query contexts).