#unit-testing #test-framework #black-box-testing #fork #unstable #benchmark #language

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

#132 in Testing

Download history 7929/week @ 2024-07-19 6782/week @ 2024-07-26 6957/week @ 2024-08-02 7142/week @ 2024-08-09 7607/week @ 2024-08-16 7149/week @ 2024-08-23 7145/week @ 2024-08-30 7149/week @ 2024-09-06 6473/week @ 2024-09-13 6732/week @ 2024-09-20 6277/week @ 2024-09-27 7472/week @ 2024-10-04 7654/week @ 2024-10-11 8764/week @ 2024-10-18 8021/week @ 2024-10-25 7877/week @ 2024-11-01

33,674 downloads per month
Used in 79 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

~1.3–2MB
~30K SLoC