Latest update from the #eurorust24 YouTube channel! A new video just dropped! πŸ¦€ Join @predrag as he breaks down advanced Rust testing techniques: invariant testing, snapshot testing, and deterministic simulation. Perfect for anyone ready to catch sneaky bugs and write rock-solid code.

Watch it his talk at EuroRust πŸ“ΉπŸ‘‰ https://youtu.be/3EFue8PDyic

Also check out Predrag's amazing β€˜cargo-semver-checks’ crate and his Trustfall Query Engine ➑️ https://predr.ag/about/

#rustlang #rusttesting #trustfall

Build bigger in less time: code testing beyond the basics - Predrag Gruevski | EuroRust 2024

YouTube

πŸ§ͺ #Rustlang Tip: Use #[test] with #[ignore] for long-running or resource-intensive tests.

Run all tests: cargo test
Run ignored tests: cargo test -- --ignored

This helps keep your test suite fast while still allowing those long running tests when needed!

#RustTesting #Rust30by30 #Day15

πŸ§ͺ #RustLang Tip

βœ… DO: Use Rust's built-in testing framework to write unit tests and integration tests.
❌ DON'T: Skip testing, it's crucial for maintainable code! #RustTesting #TDD

Run `cargo test` to see the output!
Learn more: https://doc.rust-lang.org/book/ch11-01-writing-tests.html

#Rust30by30 #Day3

How to Write Tests - The Rust Programming Language