Testing in rust is not hard. Learn Rust part 2

preview_player
Показать описание
Learn how to test in rust! I cover everything from klippy to unit tests and documentation tests! While learning rust, it's testing is one of the things I have come to love the most!

Want to join the stream?

RustDoc:

Unit Tests:

Clippy:

==================================
= Timeline =
==================================
0:00 - intro
1:45 - Clippy
5:30 - Unit Tests
10:35 - Bin vs Lib
12:45 - Doc Tests?
15:00 - the future
17:32 - ??????
Рекомендации по теме
Комментарии
Автор

Love the series so far, was reluctant to start learning rust going from years of c / python because i thought it may take long to learn or be too complicated for some typical use cases, but your videos show how easy and convenient it is. Keep up the good work!

milosmatovic
Автор

Try mock external library methods, and I don't think you will say it's not hard again.

traveldopes