jeudi 26 mars 2015

How do I clear and migrate the database automatically for testing?

I am building an API with Yii2 and have some codeception API tests working with a test database. However I would like to clear and migrate the database on each round of testing.


How do I go about this? I can't find an answer anywhere.


Aucun commentaire:

Enregistrer un commentaire