samedi 7 mars 2015

Testing working read from / write to a file

Say, I have a method which reads data from and writes itto a file. How do I test it using preferably py.test or, maybe, unittest or any other framework? I guess it's called mocking.


Aucun commentaire:

Enregistrer un commentaire