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
Ruby on Rails: An IntroductionJohns Hopkins University via Coursera Internet of Things Capstone: Build a Mobile Surveillance System
University of California, San Diego via Coursera Engineering Maintainable Android Apps
Vanderbilt University via Coursera Orientação a Objetos com Java
Instituto Tecnológico de Aeronáutica via Coursera TDD – Desenvolvimento de Software Guiado por Testes
Instituto Tecnológico de Aeronáutica via Coursera