I recommend reading chapter 17 of the Rust lang book. I'll cover it but the video won't come out for a little while. doc.rust-lang.org/stable/book/ch17-00-oop.html
When I enter "cargo test", the integration test is omitted. I have to enter "cargo test *", only then do all the tests run. Am I doing something wrong or is that normal?
📝 Get your *FREE Rust cheat sheet* : www.letsgetrusty.com/cheatsheet
Great series, scary that the test videos do not get the same attention as the others, super important!
Богдан, дякую за контент, подобається систематична викладка
an amezing videos to learn rust, now I can understand rust programming from your videos ,
thanks LGR.
Rust is the kingdom and you are the King!
a video on different prebuilt structures we can implement on our structure to add features to our structure (like Interfaces in java) please
I recommend reading chapter 17 of the Rust lang book. I'll cover it but the video won't come out for a little while.
doc.rust-lang.org/stable/book/ch17-00-oop.html
@@letsgetrusty thanks, will do that
In terms of unit tests, Im very used to setup, teardown and mocks
Is this possible in rust ?
yeah
Thank you.
Wait, how do you get out of your room
Teleportation
Maybe iterators next?
Iterators are in fact next!
And by next I mean in a few videos ;)
Yesssss those can be confusing
what I really need to know is how to hide the "note: set RUST_BACKTRACE=1 for much noisier test output" message
When I enter "cargo test", the integration test is omitted. I have to enter "cargo test *", only then do all the tests run. Am I doing something wrong or is that normal?
writing only "cargo test" didn't run integration tests for me.
One for the algo
Unit/integration testing feels pretty similar in most languages... boring but important.
Pointer please
Pointers are coming soon!
Rust test framework constrains too much the user into a structure that is too rigid to my taste.
Quite opinionated on tests, mr rust
Not gonna lie, I don't really like this convention for tests, sadly convention over configuration has this sort of problem.