Iterating on Testing in Rust

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. proptest

    Hypothesis-like property testing for Rust

    Isn't proptest something that could handle this?

    https://github.com/proptest-rs/proptest

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. mockall

    A powerful mock object library for 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

  4. quickcheck

    Automated property based testing for Rust (with shrinking).

    Maybe https://github.com/BurntSushi/quickcheck too?

  5. yam-rs

    https://github.com/Ygg01/steel_yaml/blob/master/tests/yaml_t...

    Here is how I made dynamic tests for it.

    But cargo nextest is a game changer. Colored output + fast fail (configurable) + timeout detection is just great.

    https://nexte.st/book/custom-test-harnesses.html

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Verus: Verified Rust for low-level systems code

    4 projects | news.ycombinator.com | 20 Apr 2025
  • Database mocks are just not worth it

    10 projects | news.ycombinator.com | 30 Dec 2024
  • Proptest: property testing in Rust

    6 projects | dev.to | 27 Dec 2024
  • Declarative Rust macros explanation

    2 projects | /r/rust | 5 Dec 2023
  • What Are The Rust Crates You Use In Almost Every Project That They Are Practically An Extension of The Standard Library?

    4 projects | /r/rust | 22 Nov 2023