3 ms·
> Without DI you are forced to write slow and difficult to maintain integration tests instead of unit tests. Integration tests are worthwhile even if you do ha
by tener 10y ago
> Without DI you are forced to write slow and difficult to maintain integration tests instead of unit tests.
Integration tests are worthwhile even if you do have unit tests. They serve different purposes.
- UK-AL 10y agoYes, but you keep them separate from unit tests. Unit tests should be fast to run, for quick feedback.