Skip to main content

register_test

Function register_test 

Source
pub fn register_test(
    name: &str,
    module_path: &str,
    is_ignored: bool,
    should_panic: ShouldPanic,
    test_type: TestType,
    timeout: Option<Duration>,
    flakiness_control: FlakinessControl,
    capture_control: CaptureControl,
    tags: Vec<String>,
    report_time_control: ReportTimeControl,
    ensure_time_control: ReportTimeControl,
    detached_panic_policy: DetachedPanicPolicy,
    run: TestFunction,
    dependencies: Option<Vec<String>>,
)