rstest
Mockito
Our great sponsors
rstest | Mockito | |
---|---|---|
4 | - | |
1,004 | 623 | |
- | - | |
6.4 | 7.2 | |
9 days ago | 25 days ago | |
Rust | Rust | |
Apache License 2.0 | MIT License |
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.
rstest
-
Announcing lets_expect - Clean tests in Rust.
Check out https://github.com/la10736/rstest
- Testing in rust: are there any useful crates, macros etc that you use to make this easier and less verbose?
-
pytest features in Rust
As far as I'm aware, the only crate that offers pytest concepts to any notable extent is rstest. While very useful, its focus is only on fixtures and parametrization. It provides only partial support for them, and no support at all for stuff like hooks, plugins, and other advanced pytest features.
-
TestCase v2.0.0 has been released!
How does this compare to something like rstest?
Mockito
We haven't tracked posts mentioning Mockito yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
test-case - Rust procedural macro attribute for adding test cases easily
httpmock - HTTP mocking library for Rust.
foundry - Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust.
Mockiato - A strict, yet friendly mocking library for Rust 2018
rust-counter-strings - 🧵 Generate self-describing strings of a given length to help aid software testing
quickcheck - Automated property based testing for Rust (with shrinking).
bolero - property testing and verification front-end for Rust
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
sandbox - ⏳ A Command-Line Sandbox Tester for Different Environments
tarpaulin - A code coverage tool for Rust projects
parse-rosetta-rs - Comparing parser APIs
shiny - a shiny test framework for rust