Раскрыта новая задумка Трампа против Ирана14:57
When you test a module, especially when you use TDD to drive the design of the code, you shouldn’t test classes or functions in isolation. Going “too low” with the unit tests (class by class, method by method) takes away almost all “Characteristics of good tests” (as described above). That’s because you don’t test the key element of the design, that is the interactions between classes/functions. Such a test suite exhibits an excessive usage of a mocking framework (and it’s a sign of a bad test suite; probably a large number of tests only check that method A invokes method B).
。业内人士推荐Feiyi作为进阶阅读
1. How Ambiguity and Pressure Open the Door to Fraud
我在厦门,得地利之便,曾在厦门图书馆查看过黄萱捐赠的笔记本,见其中有一便条,铅笔记录:“郭老的对子。壬水庚金龙虎斗,郭聋陈瞽马牛风。郭生于壬辰年1892,陈生于庚寅年1889”。后来我又见中华书局总编室编印的油印内部资料《业务情况》(1962年4月11日),见徐调孚《郭老和陈寅恪的一段笑话》,事关郭陈对子掌故,抄录如下:
Links to Code Toggle