cozy / cozy-contacts-v2

Contact books manager for Cozy
http://cozy.io
GNU Affero General Public License v3.0
20 stars 20 forks source link

Switch to test DB when testing #285

Closed gregorylegarec closed 8 years ago

gregorylegarec commented 8 years ago

Avoid resetting your contact database when running test. This command could be enhanced by deleting the created database right after the tests.

In an ideal world, the whole process of testing API calls should be done in a dedicated virtual environnment.

nono commented 8 years ago

@gregorylegarec what is the status of this PR?

gregorylegarec commented 8 years ago

@nono I push changes but I amended my commit : that was a great idea for PR readbility. So if it's ok for @m4dz we should merge.

m4dz commented 8 years ago

Thanks!