#unstable #fork #language #benchmark #require #rustc

dev tester

A fork of Rust’s test crate that doesn’t require unstable language features

10 releases (5 breaking)

0.9.1 Apr 28, 2023
0.9.0 Feb 10, 2021
0.8.1 Jan 25, 2021
0.8.0 Dec 6, 2020
0.4.1 Mar 27, 2018

#49 in Testing

Download history 9974/week @ 2023-12-15 7303/week @ 2023-12-22 6699/week @ 2023-12-29 10829/week @ 2024-01-05 9023/week @ 2024-01-12 9194/week @ 2024-01-19 9569/week @ 2024-01-26 10413/week @ 2024-02-02 11418/week @ 2024-02-09 11785/week @ 2024-02-16 10205/week @ 2024-02-23 10649/week @ 2024-03-01 12176/week @ 2024-03-08 12002/week @ 2024-03-15 10539/week @ 2024-03-22 8138/week @ 2024-03-29

44,577 downloads per month
Used in 78 crates (7 directly)

MIT/Apache

150KB
4K SLoC

Support code for rustc's built in unit-test and micro-benchmarking framework.

Almost all user code will only be interested in Bencher and black_box. All other interactions (such as writing tests and benchmarks themselves) should be done via the #[test] and #[bench] attributes.

See the Testing Chapter of the book for more details.

Dependencies

~305–800KB
~13K SLoC