> Markdown version of [/events/world-congress-2026-north-america/sessions/1723-testing-react](https://www.wearedevelopers.com/events/world-congress-2026-north-america/sessions/1723-testing-react). Every page supports `.md` or `Accept: text/markdown`. Links point to the HTML versions so they work for humans too. Agent guide: [/agents.md](https://www.wearedevelopers.com/agents.md). --- # Testing React Backends Like a Pro: Mocking Databases with SQLite - **Event:** World Congress 2026 North America ## Description 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. ## Speaker ### [David Morris](https://www.wearedevelopers.com/@david-morris) Solution Architect ## Related talks at this congress - [One Repo, One Strategy: Scalable Full-Stack Testing in a Monorepo World](https://www.wearedevelopers.com/events/world-congress-2026-north-america/sessions/1699-one-repo-one) — Bartosz Leczycki, Paweł Matynia - [Reinventing Testing Practices in the AI Era](https://www.wearedevelopers.com/events/world-congress-2026-north-america/sessions/1724-reinventing-testing) — Eric Deandrea - [Fast by Design: A Masterclass in High-Performance Web Engineering](https://www.wearedevelopers.com/events/world-congress-2026-north-america/sessions/1414-fast-by-design-a) — Aaron Grogg - [Testing AI Workflows Locally with Testcontainers](https://www.wearedevelopers.com/events/world-congress-2026-north-america/sessions/1679-testing-ai-workflows) — Anna Chernyshova ## Watch remotely Can’t make it to San José? Watch this session live with Pro. You also get: - All full videos, bookmarks, and playlists - World Congress livestreams [See pricing](https://www.wearedevelopers.com/pricing) ## Links - [Get tickets](https://www.wearedevelopers.com/world-congress-north-america/tickets)