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
28,611 downloads per month
Used in 79 crates
(7 directly)
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