diff --git a/src/SUMMARY.md b/src/SUMMARY.md index 2d2877c8..c2b73649 100644 --- a/src/SUMMARY.md +++ b/src/SUMMARY.md @@ -165,6 +165,7 @@ - [Test Modules](testing/test-modules.md) - [Documentation Tests](testing/doc-tests.md) - [Integration Tests](testing/integration-tests.md) + - [Useful crates](testing/useful-crates.md) - [Unsafe Rust](unsafe.md) - [Dereferencing Raw Pointers](unsafe/raw-pointers.md) - [Mutable Static Variables](unsafe/mutable-static-variables.md) diff --git a/src/testing/useful-crates.md b/src/testing/useful-crates.md new file mode 100644 index 00000000..7435643d --- /dev/null +++ b/src/testing/useful-crates.md @@ -0,0 +1,9 @@ +## Useful crates for writing tests + +Rust comes with only basic support for writing tests. + +Here are some additional crates which we recommend for writing tests: + +* [googletest](https://docs.rs/googletest): Comprehensive test assertion library in the tradition of GoogleTest for C++. +* [proptest](https://docs.rs/proptest): Property-based testing for Rust. +* [rstest](https://docs.rs/rstest): Support for fixtures and parameterised tests.