mry
A simple mocking library for structs, traits, and function. (by ryo33)
mockers
Mocking library for Rust (by kriomant)
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
mry
Posts with mentions or reviews of mry.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-23.
-
Mocking in Rust: Mockall and alternatives
Mry allows you to easily create mock objects for unit testing. You can integrate Mry with any testing framework for Rust. Including the inbuilt testing framework, cargo test.
mockers
Posts with mentions or reviews of mockers.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-23.
-
Mocking in Rust: Mockall and alternatives
Mockers was inspired by the Google Mock library for C++. Mockers has an efficient syntax that supports stable Rust; however, you can only use some features in nightly Rust (like generic functions).
What are some alternatives?
When comparing mry and mockers you can also consider the following projects:
faux - Struct mocking library for Rust
mock_derive - A mocking library for Rust-lang
wiremock-rs - HTTP mocking to test Rust applications.
pseudo - A small mocking library for Rust
mock-it - This library aims to make mocking reliable
galvanic-mock - A mocking framework for Rust