#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

#68 in Testing

Download history 5543/week @ 2021-04-02 3698/week @ 2021-04-09 4109/week @ 2021-04-16 4153/week @ 2021-04-23 4607/week @ 2021-04-30 4085/week @ 2021-05-07 3858/week @ 2021-05-14 3566/week @ 2021-05-21 4268/week @ 2021-05-28 3846/week @ 2021-06-04 3432/week @ 2021-06-11 3680/week @ 2021-06-18 3275/week @ 2021-06-25 3290/week @ 2021-07-02 3636/week @ 2021-07-09 3440/week @ 2021-07-16

20,983 downloads per month
Used in 64 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