Black-box tests
Test the real thing.

Empirical runs a real browser against your app, covering real scenarios that simulate what your product does for customers.

01 · No app code needed

Empirical tests don't need your code, read your repo, or ask you to install an SDK. They open your app's URL and use it the way a customer does, so they work for any language and any stack.

UnitEmpirical
Imports your codeyesno
Needs repo accessyesno
Tied to your stackyesno
Runs againsta harnessyour URL

02 · Cover the scenarios that matter

We start with the flows your business runs on: checkout, signup, invites, billing. Each test is named for what the customer does and the outcome they pay for, so a red test reads as a broken promise to a customer, not a broken function.

  • Guest checks out with a coupon code REVENUE
  • New user signs up with Google and lands on onboarding ACTIVATION
  • Admin invites a teammate who accepts from email EXPANSION
  • Customer downgrades plan and keeps their data RETENTION

03 · No mocks

Tests run against your deployed app with its real backend, database, and third parties. Payments go through the processor, emails land in an inbox, sign-in goes through the provider. When any of them breaks, a test catches it.

Checkout test · what's real

Browser Chromium

Backend your staging API

Database seeded, real

Payments Stripe test mode

Email a real inbox

Mocks none

04 · An asset for big changes

Rewrite the backend, swap the framework, move auth providers. The suite describes what users do, not how the code does it, so it stays put and tells you the change is safe to ship.

Suite · 212 tests

API · Node → Rust 0 changed

Vue → React 0 changed

REST → GraphQL 0 changed

Auth0 → Clerk 3 changed

05 · We ship tests as code

Every test is Playwright in TypeScript, in a git repo you can clone. Run it on your laptop or your CI with no Empirical in the loop. Leave whenever you like and keep the suite.

~/acme-tests — zsh
$ cat tests/checkout/coupon.spec.ts
test("guest checks out with a coupon code", async ({ page }) => {
  await page.getByLabel("Coupon").fill("WELCOME10");
  await page.getByRole("button", { name: "Pay now" }).click();
  await expect(page.getByText("Order confirmed")).toBeVisible();
});

$ npx playwright test
✓ 212 passed (4.1m)

Read our own suite on GitHub ↗