Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge. Learn more →
Top 23 Rust Testing Projects
-
Project mention: Is there a good REST API development tool like Postman written in Rust? | /r/rust | 2023-10-20
I haven't used it myself, but maybe something like Hurl? It's not a GUI like Postman though
-
foundry
Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust.
-
Onboard AI
Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.
-
-
-
If you need fancier testing than what's built into Rust, cargo-nextest is becoming quite popular.
-
-
Project mention: What Are The Rust Crates You Use In Almost Every Project That They Are Practically An Extension of The Standard Library? | /r/rust | 2023-11-22
proptest: Property-based testing with random input generation.
-
InfluxDB
Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.
-
I need to do some tests with files operations, what's the best practice in regards to creating temporary files in tests ? I heard about tempfile but is there a more idiomatic way to do that ?
-
Check out https://github.com/la10736/rstest
-
-
Project mention: "My Reaction to Dr. Stroustrup’s Recent Memory Safety Comments" | /r/rust | 2023-02-02
The static-assertions crate tries to handle similar use cases but const generics are still problematic.
-
cargo-hack
Cargo subcommand to provide various options useful for testing and continuous integration.
cargo-hack for workspaces or projects that make heavy use of crate features
-
-
-
Faux allows you to create mock versions of a struct without complicating your code. Like many mocking libraries, faux is only recommended for testing purposes. Mock objects in production may be unstable and cause production problems.
-
-
-
Project mention: Distcc: A fast, free distributed C/C++ compiler | news.ycombinator.com | 2023-06-01
Hi Rusty!
For a later hack in the same vein, check out https://github.com/sourcefrog/cargo-mutants
-
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).
-
-
Project mention: casr: Collect crash reports, triage, and estimate severity - estimates the security implications from native crash dumps | /r/blueteamsec | 2023-04-08
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Rust Testing related posts
- Declarative Rust macros explanation
- What Are The Rust Crates You Use In Almost Every Project That They Are Practically An Extension of The Standard Library?
- Iterating on Testing in Rust
- Proptest strategies the hard way
- Mocking in Rust: Mockall and alternatives
- Generating combinatorial test cases
- I need to buy goETH
-
A note from our sponsor - InfluxDB
www.influxdata.com | 10 Dec 2023
Index
What are some of the best open-source Testing projects in Rust? This list will help you:
Project | Stars | |
---|---|---|
1 | hurl | 7,358 |
2 | foundry | 6,920 |
3 | tarpaulin | 2,202 |
4 | quickcheck | 2,182 |
5 | nextest | 1,781 |
6 | afl.rs | 1,494 |
7 | proptest | 1,463 |
8 | tempfile | 980 |
9 | rstest | 879 |
10 | Mockito | 584 |
11 | static-assertions | 533 |
12 | cargo-hack | 456 |
13 | stainless | 455 |
14 | fuzzcheck-rs | 410 |
15 | faux | 378 |
16 | keyscope | 369 |
17 | k9 | 298 |
18 | cargo-mutants | 286 |
19 | mockers | 269 |
20 | Mockiato | 225 |
21 | casr | 204 |
22 | serial_test | 181 |
23 | approx | 144 |