Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit testing through API server mocking? #3

Open
icedream opened this issue Jul 2, 2016 · 1 comment
Open

Unit testing through API server mocking? #3

icedream opened this issue Jul 2, 2016 · 1 comment
Milestone

Comments

@icedream
Copy link
Owner

icedream commented Jul 2, 2016

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).

@icedream icedream added this to the v0.2.0 milestone May 11, 2018
@icedream
Copy link
Owner Author

icedream commented Jun 4, 2018

As a note, this would have prevented our issue with the transition mentioned in #8. We should get this working as soon as we gain access back... argh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant