mardi 26 mars 2019

What to mock for python test cases?

I want to understand what needs to be mocked and what not when writing test cases in general.

For example, we will mock I/O operations, but what about functions imported from another module. Are we supposed to mock them as well?

Aucun commentaire:

Enregistrer un commentaire