#assert #testing #delay #delaying

delayed-assert

A simple library for delaying asserts

2 releases

0.1.1 Apr 20, 2021
0.1.0 Apr 7, 2021

#57 in #delay

MIT/Apache

7KB

ci-badge docs-badge crate-version

delayed-assert

A simple library for delaying asserts.

Sample Usage

    use delayed_assert::DelayedAssert;

    ...

    let mut da = DelayedAssert::new();
    da.expect("something truthy");
    da.expect_equal(42, 42);
    da.assert_expectations();

lib.rs:

ci-badge docs-badge crate-version

delayed-assert

A simple library for delaying asserts.

Sample Usage

let mut da = DelayedAssert::new();
da.expect("something truthy");
da.expect_equal(42, 42);
da.assert_expectations();

Dependencies

~17KB