fake_instant 0.4.0

Fake clock for deterministic testing of code depending on time.
Documentation

fake_clock

Crate Documentation Linux/macOS Windows Issues
Documentation Build Status Build status Stories in Ready
MaidSafe website SAFE Dev Forum SAFE Network Forum

Overview

This crate supplies a FakeClock struct, which mimics the interface of std::time::Instant and enables full control over the flow of time as perceived by the code during testing.

License

This SAFE Network library is dual-licensed under the Modified BSD (LICENSE-BSD https://opensource.org/licenses/BSD-3-Clause) or the MIT license (LICENSE-MIT http://opensource.org/licenses/MIT) at your option.

Contribution

Copyrights in the SAFE Network are retained by their contributors. No copyright assignment is required to contribute to this project.