Skip to main content

main

Macro main 

Source
macro_rules! main {
    () => { ... };
}
Expand description

Run all #[ferritest] tests in this binary.

Reads config from ferridriver.config.toml (auto-discovered), applies CLI args (-- --headed --backend webkit --workers 1), and runs all registered tests through the parallel runner.

use ferridriver_test::prelude::*;

#[ferritest]
async fn my_test(page: Page) {
    page.goto("https://example.com", None).await.unwrap();
}

ferridriver_test::main!();