7 million downloads, and 1.0
parallel attribute support for serial_test
About 18 months ago I was wondering how to make Rust tests run in serial occasionally and I wrote a little crate called “serial_test” to solve this. I was digging through some other things, and idly noted that serial_test now has over 100,000 downloads, and so it’s probably a good time for a little retrospective on it.
I’m once again prodding the potboiler tests and a couple of the tests I was doing wanted to mess around with the shared database. This had the problem that multiple tests would collide with each other, as the default for Rust testing is to run everything in parallel. This is unusual, but good in many…