httpmock
Mockito
Our great sponsors
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
httpmock
-
Mocking HTTP Services in Rust
Static YAML file configuration: This mode allows you to set up a mock server with a static configuration that does not need to change. This approach does not require any test execution or Rust program. Instead, the mock server reads its configuration from YAML mock definition files, which are very similar in structure to the Rust API (see example here).
-
Rust HTTP Testing with httpmock
HTTP mocking libraries allow you to simulate HTTP responses so you can easier test code that depends on third-party APIs. This article shows how you can use httpmock to do this in Rust.
-
httpmock - A Rust library and tool for mocking and prototyping HTTP endpoints.
Thad you mean with "async runtime conflicts"? My tests are running agains three different async rutimes (tokio, async_std and actix_rt), seemingly without any problems. I checked that manually and I also see no problems (all green, not conflicts). If you think I am mistaken, please consider reporting it here.
- httpmock - An HTTP mocking library and prototyping tool.
Mockito
We haven't tracked posts mentioning Mockito yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
Weld - Full fake REST API generator written with Rust
Mockiato - A strict, yet friendly mocking library for Rust 2018
testcontainers-rs - A library for integration-testing against docker containers from within Rust.
quickcheck - Automated property based testing for Rust (with shrinking).
rust - Empowering everyone to build reliable and efficient software.
trust - Travis CI and AppVeyor template to test your Rust crate on 5 architectures and publish binary releases of it for Linux, macOS and Windows
rust - Rust for the xtensa architecture. Built in targets for the ESP32 and ESP8266
tarpaulin - A code coverage tool for Rust projects
inside-vm - Detect if code is running inside a virtual machine (x86 and x86-64 only).
shiny - a shiny test framework for rust
rust - Rust language bindings for TensorFlow
Clippy - A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/