10 – Why mocking? – zeroToMasters TDD php course

FREE PHP TDD COURSE – Mocking is a common practice used nowadays on testing but is it good? People used it by default on every possible scenario but that makes your production code to be attached to your tests and that’s bad. This video shows you a good use of mocking

Find the whole free TDD course on: https://www.youtube.com/playlist?list=PL0m0TPnF-iCFpTl2qaP0FIn5zhVtOL8El

Find here the final code: https://github.com/zeroToMasters/github-api/tree/video-10

Source: https://www.youtube.com/watch?v=jtgdcqIrl-s

Leave a Reply

Your email address will not be published. Required fields are marked *