Thanks to visit codestin.com
Credit goes to lib.rs

#unit-testing #test-framework #benchmark #bencher #micro-benchmark #fork-of-test

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

#185 in Testing

Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App

54,947 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

~265–620KB