Just released wiremock, a new crate to test @rustlang applications using async HTTP mocking.
It works with both @asyncrs and @tokio_rs, as well as allowing parallel test execution with no interference.
Release notes: https://www.lpalmieri.com/posts/2020-04-13-wiremock-async-http-mocking-for-rust-applications/ …
The repository README provides a detailed comparison with mockito and httpmock, the two existing crates when it comes to HTTP mocking in Rust:https://github.com/LukeMathWalker/wiremock-rs …
-
-
-
It builds on top of
@bastion_rs - each instance of MockServer is composed of two actors under the hoods. A server actor, listening on a local port. A mock actor, in charge of managing mock registration and matching. Bastion was a pleasure to work with!Show this thread
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Writing about stuff to learn how it works, mostly in Rust.
Lead Engineer at
