Our readingWhat is a korrent?
Needing to mock code in tests often signals an underlying design problem that refactoring would fix.
Drawn from what Yihui Xie said
Subjectdesign
What this subject means
design How things should be made and judged: what makes a design good, who should do the designing, and what an interface is for.
On the topicWhat are tests for, and how much testing is enough?under our view: Tests should exercise the software the way it is used, not its insides