Glossary: Refactoring and Clean Code
dependency injection
Passing in what code needs, such as a date or an email sender, instead of having the code create it. This lets a test supply fixed or fake versions.
Glossary: Refactoring and Clean Code
Passing in what code needs, such as a date or an email sender, instead of having the code create it. This lets a test supply fixed or fake versions.