Migrate to cargo_embargo. am: d8b699d629 am: b595bb7179 am: 3cc1f87975

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

Change-Id: Idd76fccc165d5097d31af448320e26262477c159
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
tree: 2b24e36245e77dfad84583b5f41dafb21efc839f
  1. examples/
  2. src/
  3. tests/
  4. Android.bp
  5. Cargo.lock
  6. Cargo.toml
  7. Cargo.toml.orig
  8. cargo_embargo.json
  9. CHANGELOG.md
  10. LICENSE-APACHE
  11. METADATA
  12. MODULE_LICENSE_APACHE2
  13. OWNERS
  14. 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.