async-test-derive

Crates.ioasync-test-derive
lib.rsasync-test-derive
version1.0.0
sourcesrc
created_at2020-02-03 23:43:00.966255
updated_at2020-03-16 02:41:14.812694
descriptionProcedure macro to run async fn as test
homepage
repositoryhttps://github.com/infinyon/flv-future
max_upload_size
id204615
size13,884
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