/awesome-rust-testing

😎 Curated list of awesome things regarding Rust Testing

Awesome Rust Testing

WANT TO HELP?? please help up by adding more things or even better: evaluating the things on the list

  • Are the things still maintained? Can we add badges here? short descriptions? Quality Control

Books

Crates

Turns out, there is an entire subcategory on crates.io Development tools::Testing

Extensions

  • rstest - Fixture-based test framework for Rust
  • ntest - Testing framework for rust enhancing the built-in library with some useful features
  • nextest - test runner
  • assay - super powered testing macro

Mocking

Snapshop Testing

Matchers

Generated output matchers

  • specker A framework to collect test inputs and expected outputs from multiple files and check them. Used to test code generation (last update 2017, needs way more examples)

FFI Testing

Coverage

Fuzzing

Property Testing

Parameterized Testing

Mutation Testing

Harnesses/Frameworks

Test Generation

Model Based Testing

Testing Webservices

More Cargo Tools

Testing Documentation

Testing CommandLine Applications

CI

  • crate-ci book contains general suggestions on maintaining high crate quality
  • Azure Pipelines contains great templates for cross-platform testing

BlogPosts

Talks

Patterns

Other Awesomes