3 ms·
> You should be writing pure functions which are easily testable, and using integration code to wrap the pure and testable parts. This often ends up with inter
by BeetleB 7y ago
> You should be writing pure functions which are easily testable, and using integration code to wrap the pure and testable parts.
This often ends up with interfaces...
- andrewprock 7y agoIf you write a pure function, an interface is meaningless.
- BeetleB 7y agoThe interface comes in this part of your comment: > and using integration code to wrap the pure and testable parts.
- andrewprock 7y agoI think you and I are talking about different things when we say "integration test".