mercredi 26 août 2015

How to test Node API with DB data?

I'm coming from Rails world, On rails I used FactoryGirl to create some db data before testing api. I've searched on the web for similar methods and I couldn't find any good results.

How do you test your API if you want to insert some db data before?

Aucun commentaire:

Enregistrer un commentaire