#deprecated #assertions #macro #assert2 #better #testing #assertify

deprecated assertify_proc_macros

Deprecated: use assert2 for better assertions

4 releases (2 breaking)

new 0.7.1 Mar 15, 2024
0.6.1 Oct 22, 2022
0.6.0 Dec 11, 2019
0.5.0 Dec 10, 2019

#3 in #assert2

23 downloads per month

MIT/Apache

2KB

Deprecated — use assert2

Use assert2 instead of this crate. assertify! can be replaced by the more capable assert2::assert! everywhere, and testify! can implemented with a short macro:

macro_rules! testify {
    ($name:ident, $($test:tt)+) => {
        #[test]
        fn $name() {
            ::assert2::assert!($($test)+);
        }
    };
}

lib.rs:

Deprecated. Use assert2 instead.

No runtime deps