Test Driven Development in Rust - Full Crash Rust tutorial for Beginners @francescociulla
Test Driven Development in Rust - Full Crash Rust tutorial for Beginners  @francescociulla
Uploaded September 2024 | Updated September 2026, 1 week ago
Full course: youtube.com/watch?v=R33h77nrMqc&list=PLPoSdR46FgI412aItyJhj2bF66cudB6Qs&index=1&t=2s

In this episode, we continue our journey with Test-Driven Development (TDD) in Rust! We start with a quick recap of the previous episode and dive straight into writing our first test in the lib.rs file. You'll learn how to implement a search function step-by-step, ensuring it passes all tests using TDD principles.

Throughout the video, we encounter a test that initially fails, but don’t worry—we’ll debug and add the necessary logic to make it work. Once the function is solid, we'll modify the run function to display the results on the screen, followed by a final test to ensure everything is running smoothly.

By the end, you'll have a clear understanding of applying TDD in Rust and feel confident writing tests and functions.

If you have any comments or feedback, let me know in the comments.

Previous lesson: youtube.com/live/D_76TcfzDTU
Lifetimes: youtu.be/S-SkEA4QWWE

My Products
Rust book: mybook.to/YJI6DI
Rust Workbook: https://francescociulla.gumroad.com/l...
Rust Cheatsheet: https://francescociulla.gumroad.com/l...

Useful Links
ALL THE LINKS HERE: francescociulla.com

GitHub repository:
github.com/FrancescoXX/rust-cli

0:00 Introduction: in the previous episode...
0:39 Test-Driven Development in Rust
1:18 Write a Test in the lib.rs file
3:31 Implement the search function.
4:28 Test still fails - add the logic to the search function
6:06 Modify the run function to print the results on the screen
6:50 Final test
7:51 Conclusion
Test Driven Development in Rust - Full Crash Rust tutorial for BeginnersIs Rust a good alternative to frameworks like Next.js, Laravel, Django for web development  in 2026?Build a CRUD Rest API - Rust, Postgres, Docker, Docker ComposeUnderstanding Traits in Rust: A Comprehensive Guide - Full New Crash Rust Tutorial for BeginnersHello world - Axum - The Rust Backend FrameworkPractical AI for DevelopersAI vs Developers: Will AI Really Replace Software Engineers in 2026?Rust Concurrency and Parallelism - Message Passing in Rust -  Full Crash Rust Tutorial for BeginnersThe first AI full-stack solution written in Rust? - With Nathaniel SimardPrimitive Types - Rust Programming Language #rustlang #programming #axum #coding #backend
Francesco Ciulla |

Test Driven Development in Rust - Full Crash Rust tutorial for Beginners

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER