aml_odp_341610000 (11382236,com.google.android.go.ondevicepersonalization,com.google.android.ondevicepersonalization)
Import libtest-mimic crate. am: e2bd850ae7 am: f6c6671e0c am: 9681cdf00a am: 725310cd0a

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

Change-Id: Ibdad3fdf9af3df4c03b02c0a07fb75918531cf04
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
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.