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 • •

289

•
In response to @hugomatheuss

Use SQLite in memory for testing 🫶

1 • •

100

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

/ 1000

So you migrate on SQLite and test?

1 • •

91

•

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.

• •

65

•