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,
    run: TestFunction,
)