Skip to main content

async_test

Attribute Macro async_test 

Source
#[async_test]
Expand description

Generates the appropriate async test attribute based on feature flags:

  • If “tokio” feature is enabled: generates #[tokio::test]
  • If “futures” feature is enabled: generates #[apply(test!)]