Snap for 9972090 from 725310cd0a9cd4d24204053df687ae7d255ead5b to udc-release am: 3b1029e670

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/rust/crates/libtest-mimic/+/22752248

Change-Id: I9abc816ae8269c2c1a0342707f2d8ef56f62230a
Signed-off-by: Automerger Merge Worker <[email protected]>
tree: 19d7d7ae78b8ecf5e0e528d4c72f27566a677cb2
  1. examples/
  2. src/
  3. tests/
  4. Cargo.lock
  5. Cargo.toml
  6. Cargo.toml.orig
  7. CHANGELOG.md
  8. LICENSE-APACHE
  9. METADATA
  10. MODULE_LICENSE_APACHE2
  11. OWNERS
  12. README.md
README.md

libtest-mimic

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. (MSRV: 1.60)

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.