Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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.