test

Attribute Macro test 

Source
#[test]
Expand description

Uses pollster::block_on to enable async on test functions.

§Example

#[pollster::test]
async fn main() {
    let my_fut = async {};

    my_fut.await;
}