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.
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/commonmodule, 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.