code
Code for the book "Rust Web Development" (by Rust-Web-Development)
mockall
A powerful mock object library for Rust (by asomers)
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.
code
Posts with mentions or reviews of code.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-21.
-
AMA with Bastian Gruber: Ask your questions!
- Integration test: I created my own mock servers in the past (here is the code for chapter 11 where I explain a more sophisticated setup: https://github.com/Rust-Web-Development/code/tree/main/ch_11/integration-tests)
-
Anything C can do Rust can do Better
🔜 Rust Web Development - repo - Bastian Gruber
mockall
Posts with mentions or reviews of mockall.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-17.
-
Iterating on Testing in Rust
I use the mockall crate myself, which works rather well. It does however mean that you need to generally write your code as traits, and pass them around as traits.
https://github.com/asomers/mockall
-
AMA with Bastian Gruber: Ask your questions!
- Mocking: Have a look at mockall: https://github.com/asomers/mockall
-
Rust - 6 months and counting
Fortunately for me, there is an excellent crate Mockall maintained by angels and with the owner Alan Somers pretty active in helping the community when a question arises.
What are some alternatives?
When comparing code and mockall you can also consider the following projects:
cucumber - Cucumber testing framework for Rust. Fully native, no external test runners or dependencies.
serverless-python-demo - Sample serverless application written in Python
areweguiyet - A website built for the Rust community
serverless-groovy-demo
rust-blog - Educational blog posts for Rust beginners
serverless-kotlin-demo
rfcs - RFCs for changes to Rust
serverless-go-demo - Sample serverless application written in Golang
book - The Rust Programming Language
serverless-graalvm-demo - Sample serverless application written in Java compiled with GraalVM native-image
Rocket - A web framework for Rust.
serverless-rust-demo - Sample serverless application written in Rust