Rust encourages developers to adopt best practices, such as writing tests for potential issues. In this post, the author shares their experience with a SQL migration bug in the bors project, and how they implemented a test using the sqlparser crate to prevent future occurrences of similar bugs. The article highlights the ease and effectiveness of testing in Rust, even for complex scenarios.
rust ✓
testing ✓
+ sql
migrations ✓
bors ✓