This won't help your answer but I think it may still be usefull to know. Sqlite operates differently that mysql so I ended up using mysql for test too because some tests failed in sqlite but not in mysql due to the data being different. And that sqlite missed some features that mysql had. I just found it to be too unreliable when what I was testing for was a mysql server. If I were to use sqlite in the prod system I would also use it for testing.
Mar 10, 2020
3
Level 10
Testing with Sqlite JSON column?
As you may know, Sqlite has different approach to creating JSON fields, so I'm wondering how do you run phpunit with sqlite if you have some JSON columns?
Mysql as test DB is working fine, but it is slooow :(
So what's your approach?
Please or to participate in this conversation.