mockers
Mocking library for Rust (by kriomant)
mock_derive
A mocking library for Rust-lang (by DavidDeSimone)
mockers | mock_derive | |
---|---|---|
1 | 1 | |
269 | 55 | |
- | - | |
10.0 | 10.0 | |
over 1 year ago | over 3 years ago | |
Rust | Rust | |
- | MIT License |
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.
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).
mock_derive
Posts with mentions or reviews of mock_derive.
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
Mock Derive is useful in simplifying the mocking process. It lets you set up unit tests even when using another testing system, like cargo test.
What are some alternatives?
When comparing mockers and mock_derive you can also consider the following projects:
mry - A simple mocking library for structs, traits, and function.
faux - Struct mocking library for Rust
pseudo - A small mocking library for Rust
foundry - Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust.
wiremock-rs - HTTP mocking to test Rust applications.
galvanic-mock - A mocking framework for Rust