I'm coding functional tests with sqlite in memory for faster results.
Everything seems ok, but I have several tables that needs to be filled so the tests works. They are small tables, and almost never change, so I would like to seed them once on the beginning of the phpunit command only.
Is it posible???
The only thing I fought is adding: Artisan::call('db:seed');
to createApplication()
but this will seed once for every tests, and I don't need it..
Any Idea how should I do it?
Aucun commentaire:
Enregistrer un commentaire