flaky

Function flaky 

Source
pub fn flaky()
Expand description

Marks the current test as flaky.

Flaky tests are tests that can fail intermittently due to external factors like network issues or timing problems.

ยงExample

use allure_core::runtime::{with_test_context, flaky};

with_test_context(|| {
    flaky();
    // Test code that sometimes fails due to network issues
});