Using MySQL for Testing (on Laravel)
Published on March 15, 2019 and filed under Software engineering
Written by Tim Sterkens and will take
Written by Tim Sterkens and will take
8 minutes
of your time.In shortWhen you are using a database in your feature tests, you might be tempted to use something like SQLite, an in-memory database, for either performance or practical reasons. In this article, we cover how you can use the same disk-based database as your production environment instead and achieve parity between your test environment and your production environment without sacrificing the speed and practicality of an in-memory database.
Want to see more articles like this in your inbox? You know what to do.
Written by
Tim Sterkens
One of the oldest, most grey hair, tallest… These superlatives may bring a smile to your face, but somebody has to keep this bunch of young dogs in check.
Related articles
Follow these 4 steps to take your debugging skills to the next level
Follow these 4 steps to take your debugging skills to the next level
Bert Ramakers
March 27, 2020
What we talk about when we talk about testing
What we talk about when we talk about testing
Yannick De Pauw
March 26, 2020
How to be an asshole when testing bugs
How to be an asshole when testing bugs
Peter Packet
December 10, 2019