#test #language #fork #features #unstable

dev tester

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

9 releases (5 breaking)

0.9.0 Feb 10, 2021
0.8.0 Dec 6, 2020
0.7.0 Nov 19, 2019
0.5.0 Oct 29, 2018
0.4.1 Mar 27, 2018

#86 in Testing

Download history 3285/week @ 2021-06-23 3490/week @ 2021-06-30 3310/week @ 2021-07-07 4104/week @ 2021-07-14 3680/week @ 2021-07-21 4127/week @ 2021-07-28 3902/week @ 2021-08-04 3859/week @ 2021-08-11 3992/week @ 2021-08-18 4623/week @ 2021-08-25 3784/week @ 2021-09-01 4461/week @ 2021-09-08 4444/week @ 2021-09-15 3765/week @ 2021-09-22 4259/week @ 2021-09-29 3876/week @ 2021-10-06

20,983 downloads per month
Used in 67 crates (via compiletest_rs)

MIT/Apache

150KB
4K SLoC


lib.rs:

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

~265–385KB