Expand description
Test context: the single object passed to every #[ferritest] function.
Wraps FixturePool and provides typed getters for built-in fixtures.
This is the Rust equivalent of Playwright’s destructured { page, browser, context, testInfo }.
ⓘ
#[ferritest]
async fn my_test(ctx: TestContext) {
let page = ctx.page().await?;
page.goto("https://example.com", None).await?;
}Structs§
- Test
Context - Context object passed to every
#[ferritest]test function.