fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

8.8K
active users

#rusttesting

0 posts0 participants0 posts today
EuroRust<p>Latest update from the <a href="https://fosstodon.org/tags/eurorust24" class="mention hashtag" rel="tag">#<span>eurorust24</span></a> YouTube channel! A new video just dropped! 🦀 Join <span class="h-card" translate="no"><a href="https://hachyderm.io/@predrag" class="u-url mention">@<span>predrag</span></a></span> 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.</p><p>Watch it his talk at EuroRust 📹👉 <a href="https://youtu.be/3EFue8PDyic" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="">youtu.be/3EFue8PDyic</span><span class="invisible"></span></a></p><p>Also check out Predrag&#39;s amazing ‘cargo-semver-checks’ crate and his Trustfall Query Engine ➡️ <a href="https://predr.ag/about/" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="">predr.ag/about/</span><span class="invisible"></span></a></p><p><a href="https://fosstodon.org/tags/rustlang" class="mention hashtag" rel="tag">#<span>rustlang</span></a> <a href="https://fosstodon.org/tags/rusttesting" class="mention hashtag" rel="tag">#<span>rusttesting</span></a> <a href="https://fosstodon.org/tags/trustfall" class="mention hashtag" rel="tag">#<span>trustfall</span></a></p>
coreyja<p>🧪 <a href="https://toot.cat/tags/Rustlang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Rustlang</span></a> Tip: Use #[test] with #[ignore] for long-running or resource-intensive tests.</p><p>Run all tests: cargo test<br>Run ignored tests: cargo test -- --ignored</p><p>This helps keep your test suite fast while still allowing those long running tests when needed!</p><p><a href="https://toot.cat/tags/RustTesting" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RustTesting</span></a> <a href="https://toot.cat/tags/Rust30by30" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Rust30by30</span></a> <a href="https://toot.cat/tags/Day15" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Day15</span></a></p>
coreyja<p>🧪 <a href="https://toot.cat/tags/RustLang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RustLang</span></a> Tip</p><p>✅ DO: Use Rust's built-in testing framework to write unit tests and integration tests.<br>❌ DON'T: Skip testing, it's crucial for maintainable code! <a href="https://toot.cat/tags/RustTesting" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RustTesting</span></a> <a href="https://toot.cat/tags/TDD" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TDD</span></a></p><p>Run `cargo test` to see the output!<br>Learn more: <a href="https://doc.rust-lang.org/book/ch11-01-writing-tests.html" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">doc.rust-lang.org/book/ch11-01</span><span class="invisible">-writing-tests.html</span></a> </p><p><a href="https://toot.cat/tags/Rust30by30" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Rust30by30</span></a> <a href="https://toot.cat/tags/Day3" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Day3</span></a></p>