mardi 9 août 2016

Setting up and Cleanning a DB after test Postgress and PHP

I am creating tests for an API. I would like to set up the DB and clean it up for each test. The problem is that my DB is very complex and large, so I would like to know if there is a way to do a complete set up and clean up of the entire test DB which is not too heavy. Thanks for your recommendations. If you need more details let me know. In case this helps, I am using phpunit for the tests and using symphony as my framework.

Aucun commentaire:

Enregistrer un commentaire