1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-03-24 15:29:28 +02:00

Add links to the Rust advanced testing workshop (#2029)

Following up on https://github.com/google/googletest-rust/issues/376

---------

Co-authored-by: Martin Geisler <martin@geisler.net>
This commit is contained in:
Luca Palmieri 2024-05-03 10:20:02 +02:00 committed by GitHub
parent 48325a08fe
commit f2de222d66
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 1 deletions

View File

@ -38,7 +38,12 @@ Error: See failure output above
- The `use googletest::prelude::*;` line imports a number of
[commonly used macros and types][prelude].
- This just scratches the surface, there are many builtin matchers.
- This just scratches the surface, there are many builtin matchers. Consider
going through the first chapter of
["Advanced testing for Rust applications"](https://github.com/mainmatter/rust-advanced-testing-workshop),
a self-guided Rust course: it provides a guided introduction to the library,
with exercises to help you get comfortable with `googletest` macros, its
matchers and its overall philosophy.
- A particularly nice feature is that mismatches in multi-line strings are shown
as a diff:

View File

@ -47,6 +47,10 @@ A small selection of other guides and tutorial for Rust:
a series of small presentations covering both basic and advanced part of the
Rust language. Other topics such as WebAssembly, and async/await are also
covered.
- [Advanced testing for Rust applications](https://github.com/mainmatter/rust-advanced-testing-workshop):
a self-paced workshop that goes beyond Rust's built-in testing framework. It
covers `googletest`, snapshot testing, mocking as well as how to write your
own custom test harness.
- [Beginner's Series to Rust](https://docs.microsoft.com/en-us/shows/beginners-series-to-rust/)
and
[Take your first steps with Rust](https://docs.microsoft.com/en-us/learn/paths/rust-first-steps/):