mainmatter/rust-advanced-testing-workshop
Tentang
A course to move beyond the built-in Rust testing toolkit.
Pembelajaran dan pendidikanPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- 0
- dalam 15 hari
- +1
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliAdvanced testing for Rust applications
No application is an island: you need to interact with third-party APIs, databases and who knows what else. Testing those interactions is tricky, to say the least! This workshop will focus on expanding your Rust testing toolkit, going beyond the basic techniques you're already familiar with. At the end of this workshop, you'll have a strategy to test most of the scenarios that are relevant for a complex Rust application.
The course assumes you have a good understanding of Rust's basic concepts and want to move beyond the built-in testing toolkit. If you run into any issue with the assumed level of Rust knowledge, please ping us and we'll sort it together!
[!NOTE] This workshop has been written by Mainmatter.
It's one of the trainings in our portfolio of Rust workshops.
Check out our landing page if you're looking for Rust consulting or training!
Getting started
Open the companion book for this course in your browser. Follow the instructions there to get started.
Requirements
- Rust (follow instructions here).
If Rust is already installed on your system, make sure you are running on the latest compiler version (cargo --version).
If not, update usingrustup update(or another appropriate command depending on how you installed Rust on your system). You must haverustupinstalled (check withrustup --version). - (Optional) An IDE with Rust autocompletion support.
We recommend one of the following:
- RustRover;
- Visual Studio Code with
the
rust-analyzerextension.
Solutions
You can find the solutions to the exercises in
the solutions branch of this
repository.
References
Throughout the workshop, the following resources might turn out to be useful:
- Rust Book
- Rust documentation (you can also open the documentation offline with
rustup doc!) googletestdocumentationinstadocumentationtempfiledocumentationsqlxdocumentationwiremockdocumentationsyndocumentationquotedocumentationproc-macro2documentationlibtest_mimicdocumentation
License
Copyright © 2024- Mainmatter GmbH (https://mainmatter.com), released under the PolyForm-Noncommercial-1.0.0.
If you're planning to use this course internally at your company, please reach out for a license. We also offer this course as an instructor-led workshop.
Jelajahi proyek terkait
Memuat…