mercredi 16 décembre 2015

How to use TDD for a project that does a lot of network requests?

I am working for a startup and am getting sick of the edit & pray development cycle (and the slow development time) and would like to bring in some TDD principles. I'm thinking about setting this up for our python project that pushes production code to various platforms like AWS GCE and Azure. I can't figure out how to write fast unit tests that cover all the cases of a production code push. I need to test things like deleting and creating images/instances which take a long time. Is there any way to test this in a quick manner or is TDD not the right approach for such a project?

Aucun commentaire:

Enregistrer un commentaire