Timeline for How can I manage dependency injection in test code?
Current License: CC BY-SA 4.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 29, 2021 at 20:08 | comment | added | Fabio | specificInteractor.Handle(request) - clean one line without dependencies on third party libraries(Mediatr) ;) | |
| Jul 29, 2021 at 18:42 | comment | added | Brady Dean | I think my concern is with how coupled the tests should be to the internals of the use case. I think the test ought to be independent of the specific use case implementation, but DI forces a decision to be made before the test can execute. | |
| Jul 29, 2021 at 18:00 | history | answered | Rik D | CC BY-SA 4.0 |