Announcing chronobreak 0.1.0: Rust mocks for deterministic time testing

https://crates.io/crates/chronobreak
chronobreak is a library of mocks which allow writing tests that check timing properties of a test subject deterministically. You can read more about how the library works here.
As this is my first crate, some feedback would be great.

Current drawbacks and limitations:
I came across this problem while working on another project and tried to find a solution for it. Therefore, the number of mocks the library provides is currently limited. It is more of a proof-of-concept.
Also the crate currently includes the core functionality and the mocks in one crate, which results in the problem that the version of other crates the library provides mocks for is fixed.

2 Likes