#test-harness #test-framework #harness #framework #test-runner #libtest

libtest-with

A slightly customized version of libtest-mimic, such that it can be easier create a test runner for test-with

9 releases

0.7.0 Jan 19, 2024
0.7.0-1 Feb 2, 2024
0.6.1-6 Dec 21, 2023
0.6.1-5 Nov 28, 2023
0.6.1-1 Aug 28, 2023

#207 in Testing

Download history 1/week @ 2023-12-22 8/week @ 2024-01-05 23/week @ 2024-01-12 38/week @ 2024-01-19 13/week @ 2024-01-26 55/week @ 2024-02-02 71/week @ 2024-02-09 77/week @ 2024-02-16 73/week @ 2024-02-23 85/week @ 2024-03-01 48/week @ 2024-03-08 45/week @ 2024-03-15 7/week @ 2024-03-22 52/week @ 2024-03-29 33/week @ 2024-04-05

141 downloads per month
Used in test-with

MIT/Apache

46KB
763 lines

libtest-with

CI status of master Crates.io Version docs.rs

In order to provide a test runner for test-with, this crate base on LukasKalbertodt/libtest-mimic and add with runtime ignore feature.

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.

Dependencies

~1–37MB
~563K SLoC