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

2.1 Dependency Injection

By passing in dependencies to functions, you can control the context of your tests. This lesson is a very basic introduction to this concept and how it applies to unit testing.