#fn #async #test #procedure #run #macro #below

macro 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

#14 in #procedure

Download history 60/week @ 2024-11-15 57/week @ 2024-11-22 112/week @ 2024-11-29 214/week @ 2024-12-06 220/week @ 2024-12-13 39/week @ 2024-12-20 60/week @ 2024-12-27 81/week @ 2025-01-03 33/week @ 2025-01-10 57/week @ 2025-01-17 242/week @ 2025-01-24 150/week @ 2025-01-31 200/week @ 2025-02-07 111/week @ 2025-02-14 123/week @ 2025-02-21 204/week @ 2025-02-28

709 downloads per month

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
~39K SLoC