I have written a piece of software in Python that does a lot of parsing and a lot of writing files to disk. I am starting to write unit tests, but have no idea how to unit test a function that just writes some data to disk, and returns nothing.
I am familiar with unittest and ddt. Any advice or even a link to a resource where I could learn more would be appreciated.
Aucun commentaire:
Enregistrer un commentaire