Crates.io | fluvio-future-derive |
lib.rs | fluvio-future-derive |
version | |
source | src |
created_at | 2024-07-15 17:37:29.139301 |
updated_at | 2024-07-15 17:37:29.139301 |
description | Procedure macro to run async fn as test |
homepage | |
repository | https://github.com/infinyon/future-aio |
max_upload_size | |
id | 1304086 |
size | 0 |
To run a test, annotate as below:
#[test_async]
async fn test_sum() -> Result<(), std::io::Error> {
assert(true,"I am alive);
Ok(())
}