Back to Tags
Dependency Injection
4 items tagged with "dependency-injection"
Filter by type:
Glossaries2
Glossary
Dependency Injection
Dependency injection is a design technique in which an object receives the other objects it depends on from an external source rather than creating them itself, improving testability and decoupling.
Glossary
Mocking
Mocking is a testing technique that replaces a real dependency with a controllable stand-in object, letting a test isolate the code under test and verify how it interacts with that dependency.