4 ms·
- Structure your code so it is mostly leaves. - Unit test the leaves. - Integration test the rest if needed. Exactly. You expressed my thoughts very succinctly
by didibus 9y ago
- Structure your code so it is mostly leaves.
- Unit test the leaves.
- Integration test the rest if needed.
Exactly. You expressed my thoughts very succinctly. Though I feel the post tries to say the same just in a lot more words.
- skinnyarms 9y agoI didn't get that from the post at all, I thought the post advocates mostly for integration tests and I didn't see anything about refactoring code to make unit testing easier.