Back

Hi guys!
I have one question about unit tests:
How do you guys do it when testing, do you create a db just for testing?

#Laravel #phpunit

2 • •

290

•
•
In response to @hugomatheuss

Use SQLite in memory for testing 🫶

1 • •

101

•
•
  • No matching results...
  • Searching...

/ 1000

Poll Options

So you migrate on SQLite and test?

1 • •

92

•
•

Yes! in the previous version, I use MySQL for my testing. Now I'm using SQLite.

By the way, I also use SQLite for my small blog that made with TALL stack.

• •

66

•
•