tags
2 posts tagged here.
Rust's test framework lacks pytest-style fixtures. This post shows how to build them using traits, global state, and ctor.
A primer on accessing databases in Rust