Integration Testing in Rust

from blog Joshleeb, | ↗ original
We all know testing is important. And, I hope, it might even be familiar. You’re coding away and catch yourself thinking “I should probably test this”. And before you know it you’ve mashed on your keyboard and there appears #[cfg(test)] mod tests { ... } These are unit tests which are super easy to setup. No added dependencies, no added tooling....