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
Turns out, there is an entire subcategory on crates.io Development tools::Testing
- 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
- MockAll (Examples, Derive Macro)
- Mocktopus
- mock_derive
- mockers
- simulacrum
- Mockiato
- mockito(http mocks)
- faux
- wiremock
- unimock
- 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)
- see the book section
- afl.rs
- cargo-fuzz
- honggfuzz
-
https://crates.io/crates/quickcheck https://crates.io/crates/quickcheck_macros
-
https://crates.io/crates/proptest https://crates.io/crates/proptest-derive
- test-generator creates tests based on files
- Testing feature combinations: cargo featomatic (incomplete, help welcome)
- "Testing" licenses https://github.com/Nemo157/cargo-lichking
- Look for possible security vulnerabilities: https://github.com/RustSec/cargo-audit
- https://crates.io/crates/assert_cmd
- assert_cli: the sucessor is assert_cmd
- crate-ci book contains general suggestions on maintaining high crate quality
- Azure Pipelines contains great templates for cross-platform testing
- How Rust is Tested
- Mocking libraries comparison
- On Mocking Rust
- Mocking in Rust with conditional compilation
- How to Mock Time in Rust Tests and Cargo Gotchas We Met
- Kcov and tarpaulin code coverage
- Tutorial: How to collect test coverages for Rust project
- Rust Code Coverage Guide: kcov Travis CI Codecov / Coveralls
- Performance Testing on Travis CI
- Coverage with kcov Travis CI Codecov / Coveralls
- Testing a Rust Command Line Tool(for assert_cli)
- Rust Mutation Testing(for mutagem)
- Testing With Unused Arguments