mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-03-21 14:46:37 +02:00
Add a file which references some useful crates to use for writing tests (#617)
* Add a slide referencing recommended testing crates --------- Co-authored-by: Martin Geisler <martin@geisler.net>
This commit is contained in:
parent
5a495a508e
commit
5bbb68be2c
@ -165,6 +165,7 @@
|
|||||||
- [Test Modules](testing/test-modules.md)
|
- [Test Modules](testing/test-modules.md)
|
||||||
- [Documentation Tests](testing/doc-tests.md)
|
- [Documentation Tests](testing/doc-tests.md)
|
||||||
- [Integration Tests](testing/integration-tests.md)
|
- [Integration Tests](testing/integration-tests.md)
|
||||||
|
- [Useful crates](testing/useful-crates.md)
|
||||||
- [Unsafe Rust](unsafe.md)
|
- [Unsafe Rust](unsafe.md)
|
||||||
- [Dereferencing Raw Pointers](unsafe/raw-pointers.md)
|
- [Dereferencing Raw Pointers](unsafe/raw-pointers.md)
|
||||||
- [Mutable Static Variables](unsafe/mutable-static-variables.md)
|
- [Mutable Static Variables](unsafe/mutable-static-variables.md)
|
||||||
|
9
src/testing/useful-crates.md
Normal file
9
src/testing/useful-crates.md
Normal file
@ -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.
|
Loading…
x
Reference in New Issue
Block a user