I have done some simple testing on the methods. I was breaking down my methods to keep one task so I can test it easily. So I was following that principle. Now if i am following that where does mocks and stubs come to play. What should I be testing with that. I have seen some tutorial they mentioned how to use, but my question is when to.
Aucun commentaire:
Enregistrer un commentaire