Why and how to test software?
Testing pieces of code
Which functionality to write unit tests for
Using Rust's built-in unit tests
cf. https://doc.rust-lang.org/book/second-edition/ch11-03-test-organization.html#unit-tests
Writing unit-testable code
Mocking external dependencies with traits
Property testing
Testing whole systems
Cargo's integration tests
cf. https://doc.rust-lang.org/book/second-edition/ch11-03-test-organization.html#integration-tests
Documentation tests
cf. https://doc.rust-lang.org/1.30.0/rustdoc/documentation-tests.html
Fuzz testing
cf. https://fuzz.rs/book/introduction.html