Rust Testing

Open-source Rust projects categorized as Testing

Top 23 Rust Testing Projects

  • hurl

    Hurl, run and test HTTP requests with plain text.

    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.

    Project mention: I need to buy goETH | /r/ethdev | 2023-05-07
  • 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.

  • tarpaulin

    A code coverage tool for Rust projects

  • quickcheck

    Automated property based testing for Rust (with shrinking).

    Project mention: Declarative Rust macros explanation | /r/rust | 2023-12-05
  • nextest

    A next-generation test runner for Rust.

    Project mention: Rust tech stack | /r/rust | 2023-03-23

    If you need fancier testing than what's built into Rust, cargo-nextest is becoming quite popular.

  • afl.rs

    🐇 Fuzzing Rust code with American Fuzzy Lop

  • proptest

    Hypothesis-like property testing for Rust

    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.

  • tempfile

    Temporary file library for rust

    Project mention: Hey Rustaceans! Got a question? Ask here (27/2023)! | /r/rust | 2023-07-03

    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 ?

  • rstest

    Fixture-based test framework for Rust

    Project mention: Announcing lets_expect - Clean tests in Rust. | /r/rust | 2023-01-10

    Check out https://github.com/la10736/rstest

  • Mockito

    HTTP mocking for Rust! (by lipanski)

  • static-assertions

    Ensure correct assumptions about constants, types, and more in Rust

    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.

    Project mention: What are some useful tools for Rust? | /r/rust | 2023-05-03

    cargo-hack for workspaces or projects that make heavy use of crate features

  • stainless

    Organized, flexible testing framework for Rust

  • fuzzcheck-rs

    Modular, structure-aware, and feedback-driven fuzzing engine for Rust functions

  • faux

    Struct mocking library for Rust

    Project mention: Mocking in Rust: Mockall and alternatives | dev.to | 2023-05-23

    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.

  • keyscope

    Keyscope is a key and secret workflow (validation, invalidation, etc.) tool built in Rust

  • k9

    Rust testing library

  • cargo-mutants

    :zombie: `cargo mutants` mutation testing for Rust

    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

    Mocking library for Rust

    Project mention: Mocking in Rust: Mockall and alternatives | dev.to | 2023-05-23

    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).

  • Mockiato

    A strict, yet friendly mocking library for Rust 2018

  • casr

    Collect crash (or UndefinedBehaviorSanitizer error) reports, triage, and estimate severity.

    Project mention: casr: Collect crash reports, triage, and estimate severity - estimates the security implications from native crash dumps | /r/blueteamsec | 2023-04-08
  • serial_test

    Allows for the creation of serialised Rust tests

  • approx

    Approximate floating point equality comparisons and assertions (by brendanzab)

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-12-05.

Rust Testing related posts

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
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com