Skip to content

Add integration tests #54

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

Open
mmstick opened this issue Dec 14, 2018 · 0 comments
Open

Add integration tests #54

mmstick opened this issue Dec 14, 2018 · 0 comments

Comments

@mmstick
Copy link
Contributor

mmstick commented Dec 14, 2018

The crate should be tested against an integration-test-compatible local web server which provides the JSON API. This could be done by having a tests/common module, which would be responsible for spawning instances of a local web server (returning their port to the test unit), similar to this, and then have every integration test send requests to their unique instance.

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

2 participants