logo

Why we don't use SQLite for tests

Faster isn't always better

Joel Clermont
Joel Clermont
2025-12-05

If you write tests for your Laravel app (and I hope you do!), you will eventually think about how to make the test suite faster.

One common approach is to use an in-memory SQLite database for tests, swapping it in place of your usual MySQL or Postgres database.

In today's video, I explain why I personally don't use this approach.

Watch Now (3 min)

And after watching, don't forget to subscribe to our YouTube channel, so you don't miss future videos.

Here to help,

Joel

P.S. There are better ways to make test suites faster than switching to an in-memory database. Let us know if you'd like help speeding your test suite up.

Toss a coin in the jar if you found this helpful.
Want a tip like this in your inbox every weekday? Sign up below 👇🏼
email
No spam. Only real-world advice.