Skip to main content

tags

Macro tags 

Source
macro_rules! tags {
    ($($tag:expr),+ $(,)?) => { ... };
}
Expand description

Declare this test’s tags and return early if the env vars filter it out. Put it at the top of the test body, before any setup.

ⓘ
#[tokio::test]
async fn slow_integration() {
    rustango::tags!("slow", "integration");
    // ...
}