Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m
  • Overview
  • Transcript

3.1 Mocks and Stubs

Armed with the basic knowledge of unit testing, it’s time to get a little more sophisticated. At some point you will need to test some business logic which brings together some other pieces of code. In those cases you will need to use some code to “stand in” for the program components so you don’t have to worry about executing them over and over again. Mocks and Stubs are two appropriate alternatives.

Related Links