Next lesson playing in 5 seconds

Cancel
  • 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.