World Congress 2026 North America

Testing React Backends Like a Pro: Mocking Databases with SQLite

September 25, 2026 12:20 – 12:50 · 30 min Stage 7

World Congress 2026 North America

September 23–25, 2026 · San José, CA

What this session covers

Modern engineering teams move fast — but brittle tests, flaky mocks, and sluggish integration pipelines can bring even the strongest React + Node backends to a crawl. One area that consistently gets often overlooked is database testing for the APIs powering today’s web applications. SQL tests are skipped entirely because they usually require a persistent database instance, complicating CI/CD pipelines and slowing development. But there’s a better way: using SQLite as an ephemeral, SQL‑compatible stand‑in for your production database.

This session introduces a battle‑tested approach to backend API testing that replaces fragile mock frameworks with a lightweight, in‑memory SQLite database that behaves like the real thing. The payoff is immediate: faster feedback loops, more reliable tests, and dramatically simpler debugging.

You’ll learn how to spin up a fully isolated test database for each suite, seed it with realistic data, and run true end‑to‑end API tests without touching production infrastructure. We’ll walk through schema setup, SQL‑driven test design, teardown automation, and strategies for keeping tests blazing fast as your backend grows.

This talk offers a fresh perspective on a familiar challenge: testing backend logic as it actually runs, not as mocks pretend it runs. Expect live coding, practical patterns, and insights drawn directly from real‑world engineering work. If you’re ready to elevate your backend testing strategy and ship with confidence, this session will show you exactly how to get there.

Related talks at this congress

Open session

World Congress 2026 North America

September 24, 2026 · 13:30–14:00

Stage 4

One Repo, One Strategy: Scalable Full-Stack Testing in a Monorepo World

Bartosz Leczycki, Paweł Matynia

Bartosz Leczycki
Paweł Matynia
Open session

World Congress 2026 North America

September 25, 2026 · 11:40–12:10

Stage 2

Reinventing Testing Practices in the AI Era

Eric Deandrea

Java Champion & Senior Principal Software Engineer at IBM

Eric Deandrea
Open session

World Congress 2026 North America

September 25, 2026 · 10:20–10:50

Stage 7

Testing AI Workflows Locally with Testcontainers

Anna Chernyshova

Sr Solutions Engineer at Docker

Anna Chernyshova
Open session

World Congress 2026 North America

September 25, 2026 · 16:10–16:40

Stage 2

Beyond SQL Generation: How to Teach Agents What Your Database Actually Means

Kris Jenkins

Host / Developer Voices

Kris Jenkins
All sessions at this congress