Using MySQL for Testing (on Laravel)
Published on March 15, 2019 and filed under Software engineering
Written by Tony Messias and will take
Written by Tony Messias 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.
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
Zvonimir Spajic
March 26, 2020
How to be an asshole when testing bugs
How to be an asshole when testing bugs
Steve Tauber
December 10, 2019