Crates.io | fluvio-future-derive |
lib.rs | fluvio-future-derive |
version | 0.1.0 |
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 | 5,775 |
To run a test, annotate as below:
#[test_async]
async fn test_sum() -> Result<(), std::io::Error> {
assert(true,"I am alive);
Ok(())
}