Write Unit Tests in Rust 🦀 Rust Programming Tutorial for Developers

preview_player
Показать описание
In this video, we'll be exploring how you can write unit tests in Rust. Unit tests help you to write more robust code, and release better quality software. Rust makes writing unit tests incredibly easy, since tests just Rust functions. There are a couple of attributes you'll want to be aware of, and several methods of structuring your test code. You can incorporate your tests into the same code file that defines the code that will be tested, or you can separate your tests into separate modules.

🚨📦 Help support this channel — shop through my Amazon storefront!
⬇️⬇️⬇️
⬆️⬆️⬆️

Please follow me on these other social channels!

All trademarks, logos and brand names are the property of their respective owners. All company, product and service names used in this website are for identification purposes only. Use of these names,trademarks and brands does not imply endorsement.

#rustlang #rust #rustdev #opensource #software #linux #devops #programming #rusty #dev #coding #codinglife #code #coder #ubuntu #ubuntulinux #appdev #developer
Рекомендации по теме
Комментарии
Автор

Keep making it going please!!!, you are the only creator that I am able to learn rust from.

therecyclebin
Автор

Man, your videos about Rust are just the best. You are the best tutor on YouTube.

firstname-lastname
Автор

It would be great to see a video on mocking in rust. Which mocking libraries are best for most common scenarios. Is mocking idiomatic in rust at all?

MegaAnufriev
Автор

Great stuff Trevor keep up the great work

Scotthutchinsonking
Автор

Excellent material. Have about 8 months of Rust exposure. This helps solidify the concepts.

frezze
Автор

simple and to the point, thank you :)

a_maxed_out_handle_of__chars
Автор

I love this channel, thanks a lot Trevor

eligbuefelix
Автор

Kindly provide a detailed video on lifetimes. Appreciate the effort you put in to make our learning effortless.

shahidyousuf
Автор

You're killing with these videos👌🏽
Keep them coming and let's hope the algorithm blesses you🙌🏽

Thank you so much.

theintjengineer
Автор

Great video. I‘d love to watch a video about integration tests,

yasin
Автор

Thanks for the video, really great explanation!

wagnernoise
Автор

Now that you wrote a few AWS videos with Rust, what's you take on it? I'm still debating if I should play with Rust or Golang. I do mostly for fun to learn different things. But still not able to decide between Rust and Golang.

prajganesh
Автор

My Brudda!! May the good lord bless you in every way possible!!

EddieKingara
Автор

Nice one. Could you make a video about a multi file/module project? Proper imports etc

datawolk
Автор

🚨📦 Help support this channel — shop through my Amazon storefront!
⬇⬇⬇
⬆⬆⬆

TrevorSullivan
Автор

Hey Trevor, please make a video on error reporting library named "miette"
btw really appreciate your contents👌. They have always been so much helpful for me 😇

saurabtharu
Автор

I guess more idiomatic way is format macro

TheInspctrcat