mimicaw

Crates.iomimicaw
lib.rsmimicaw
version0.1.3
sourcesrc
created_at2020-01-22 16:30:32.406982
updated_at2020-02-01 16:35:05.154863
descriptionA library for writing asynchronous tests.
homepage
repositoryhttps://github.com/ubnt-intrepid/mimicaw.git
max_upload_size
id201050
size89,602
Yusuke Sasaki (ubnt-intrepid)

documentation

README

mimicaw

A library for writing asynchronous tests.

crates.io rust toolchain docs.rs

mimicaw is a small library that provides a framework for writing the free-style, asynchronous tests without using the default test harness provided by rustc. The concept and design are strongly inspired by libtest-mimic, but also focuses on the affinity with the async/.await syntax.

Installation

First, add mimicaw as a development dependency of your package. If you are the user of cargo-edit:

$ cargo add --dev mimcaw

The test binaries must explicitly set the harness key to make the default test harness provided by rustc disabled:

[[test]]
name = "mytest"
path = "tests/mytest.rs"
harness = false

Resources

License

This library is licensed under either of

at your option.

Commit count: 64

cargo fmt