Skip to content

A library for writing asynchronous tests

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

ubnt-intrepid/mimicaw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mimicaw

A library for writing asynchronous tests.


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.

About

A library for writing asynchronous tests

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages