#RustTesting
🧪 #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
October 9, 2024 at 4:16 PM
🧪 #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://buff.ly/3XZHtbu

#Rust30by30 #Day3
September 27, 2024 at 4:16 PM