fluvio-test-derive

Crates.iofluvio-test-derive
lib.rsfluvio-test-derive
version0.1.1
sourcesrc
created_at2020-09-21 22:10:46.262183
updated_at2021-05-08 05:57:16.583447
descriptionProcedure macro to run async fn as test
homepage
repositoryhttps://github.com/infinyon/flv-future
max_upload_size
id291319
size15,976
Sehyo Chang (sehz)

documentation

README

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(())
}
Commit count: 113

cargo fmt