#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

#128 in Testing

Download history 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 7913/week @ 2024-11-01 6440/week @ 2024-11-08 6812/week @ 2024-11-15 6109/week @ 2024-11-22

28,611 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