#fn #async #test #run #procedure #macro #annotate

macro dev fluvio-test-derive

Procedure macro to run async fn as test

2 releases

0.1.1 May 8, 2021
0.1.0 Sep 21, 2020

#6 in #annotate

Download history 1189/week @ 2024-01-03 2490/week @ 2024-01-10 3141/week @ 2024-01-17 1562/week @ 2024-01-24 2033/week @ 2024-01-31 1466/week @ 2024-02-07 1839/week @ 2024-02-14 2252/week @ 2024-02-21 2529/week @ 2024-02-28 2129/week @ 2024-03-06 1276/week @ 2024-03-13 3394/week @ 2024-03-20 3815/week @ 2024-03-27 3990/week @ 2024-04-03 2613/week @ 2024-04-10 4335/week @ 2024-04-17

15,103 downloads per month
Used in 18 crates (via fluvio-future)

Apache-2.0

6KB
86 lines

Friendly, test runner for async function

To run a test, annotate as below:

#[test_async]
async fn test_sum() -> Result<(),std::io::Result> {
    assert(true,"I am alive);
    Ok(())
}

Dependencies

~1.5MB
~34K SLoC