A small test framework to write your own test harness that looks and behaves like the built-in test harness used by rustc --test
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Reynard User 49a5271753
Some checks failed
CI / Check basic style (push) Has been cancelled
CI / Build & test (push) Has been cancelled
chore: sync dependencies (monorepo)
2026-04-06 15:20:56 +02:00
.github Update CI workflows 2026-03-16 16:58:22 +01:00
examples Use exit_code in examples 2024-04-09 19:17:42 +02:00
src Remove duplicate code by using ignorable_test in Trial::test 2026-03-16 18:12:44 +01:00
tests Put runtime ignore reason in parens instead of after comma 2026-03-16 18:11:12 +01:00
.gitignore Add Arguments with CLI arguments similar ot the standard test harness 2018-07-21 21:55:17 +02:00
Cargo.toml chore: sync dependencies (monorepo) 2026-04-06 15:20:56 +02:00
CHANGELOG.md Bump version to 0.8.2 2026-03-16 18:19:32 +01:00
LICENSE-APACHE Add LICENSE files 2018-07-22 10:12:08 +02:00
LICENSE-MIT Add LICENSE files 2018-07-22 10:12:08 +02:00
README.md Deemphasize MSRV by removing check and note from README 2023-01-15 16:52:11 +01:00

libtest-mimic

CI status of master Crates.io Version docs.rs

Write your own test harness that looks and behaves like the built-in test harness (used by rustc --test)!

This is a simple and small testing framework that mimics the original libtest. That means: all output looks pretty much like cargo test and most CLI arguments are understood and used. With that plumbing work out of the way, your test runner can focus on the actual testing.

See the documentation or the examples/ folder for more information.


License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.