Testing in Rust - A Primer in Unit Testing and Mocking
Offered By: Rust via YouTube
Course Description
Overview
Explore unit testing techniques and mocking in Rust through this 25-minute conference talk. Learn how to ensure code reliability and safety in low-level systems processes using Rust's built-in testing tools. Discover general unit testing methods and how to mock complex dependencies with the double crate. Follow along with examples ranging from simple to complex cases commonly encountered in real-world systems. Gain insights suitable for both novice and experienced Rust developers, as well as those curious about the language. Benefit from the expertise of Donald Whyte, a software engineer with extensive experience in distributed systems and machine learning, as he covers topics including unit tests, test doubles, profit models, robot logic, expected behavior, matching across elements, and design considerations.
Syllabus
Intro
About me
Unit tests
Test double
Profit model
Robot logic
Expected behavior
Matching across elements
Design considerations
Conclusion
Taught by
Rust
Related Courses
Java Multithreading, Concurrency & Performance OptimizationUdemy Learn Assembly Language by Making Games for the Atari 2600
Udemy 16-Bit Virtual Machine in JavaScript
YouTube Build a 65C02-Based Computer From Scratch
YouTube Complete Modern C++ Programming - Beginner to Advanced
Udemy