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/ …
-
Show this thread
-
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 …
1 reply 0 retweets 0 likesShow this thread -
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!
11:16 AM - 13 Apr 2020
0 replies
2 retweets
3 likes
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
