PRACTICAL TESTING GUIDES

Test email flows without the flaky parts.

Patterns and copy-paste examples for OTPs, magic links, password resets, deliverability checks, and AI-driven tests — from the first local run to parallel CI.

START HERE
PLAYWRIGHT

An inbox fixture for every test

Replace shared mailboxes, fixed sleeps, and expect.poll loops with isolated inboxes and one bounded wait.

Read the Playwright guide →
AUTHENTICATION

Test OTP flows end to end

Exercise the real sending path and consume the code as a typed field instead of scraping the message.

Read the OTP guide →
AI + MCP

Give your agent a real inbox

Let an agent create addresses, wait for verification mail, read codes, and follow links without human handoffs.

Read the agent guide →

By test framework

Use the integration shape that fits where your test code runs. Each guide covers isolation, cleanup, parallel execution, and CI.

Authentication flows

Test the happy path and the security behavior around it: expiry, reuse, resend, enumeration, and parallel runs.

Delivery and quality

A message arriving is only the first assertion. Check authentication, content signals, and the address strategy your suite depends on.

AI agents and MCP

Let an agent complete email-gated workflows during exploration, then leave a deterministic SDK-backed test behind for CI.

Prefer a four-minute implementation?

Start with the quickstart for your framework, create one inbox, and get the first OTP test green.

Start free Open the quickstart