Crates.io | async-test-derive |
lib.rs | async-test-derive |
version | 1.0.0 |
source | src |
created_at | 2020-02-03 23:43:00.966255 |
updated_at | 2020-03-16 02:41:14.812694 |
description | Procedure macro to run async fn as test |
homepage | |
repository | https://github.com/infinyon/flv-future |
max_upload_size | |
id | 204615 |
size | 13,884 |
To run a test, annotate as below:
#[test_async]
async fn test_sum() -> Result<(),std::io::Result> {
assert(true,"I am alive);
Ok(())
}