Rust Crash Course Tutorial for Beginners

Welcome to our comprehensive series on learning Rust, a powerful and efficient programming language. This playlist is designed to guide you from the very basics of Rust to its most advanced features. Whether you're entirely new to programming or an experienced developer looking to add Rust to your skillset, these lessons are structured to provide a clear and progressive learning path. Join us as we explore Rust's unique approach to safety, speed, and concurrency and become proficient in this increasingly popular language. Remember to subscribe and activate notifications so you don't miss the new videos

Curated by: Francesco Ciulla (54 videos)


Currently Playing: Testing in Rust - Full Rust Crash Course Tutorial for beginners

In this lesson, we will learn about Rust programming language testing. In this episode, we will take a practical approach, providing examples of how you can easily test your Rust applications. A significant advantage of the Rust Programming language is that you don't need any dependencies to start writing tests! 0:00 Introduction: Testing in Rust 0:38 Anatomy of a Test Function in Rust 4:50 Making a Test that Fails 6:10 Checking Results with the assert! Macro 10:55 Testing Equality with the assert_eq! and assert_ne! Macros 13:20 Adding Custom Failure Messages 16:24 Checking for Panics with the should_panic Attribute 22:08 Using Result in Tests Check this Open Source Project: https://www.rustcrab.com/ ALL THE LINKS HERE: https://francescociulla.com


Tracks in this Playlist