mardi 10 octobre 2017

Laravel unit testing with sqlite on Virtualbox does not work

Testing on Virtualbox with laravel dusk and using as test database sqlite I get

unlink(/var/www/laravel/database/database.sqlite): Text file busy

after researches I understand this problem is mainly because of Virtualbox shared folder.

I was trying to call the sqlite file from /tmp folder but in this case I get

Database (/tmp/database.sqlite) does not exists

How would I manage this issue to have my tests running

Aucun commentaire:

Enregistrer un commentaire