1、You must write a failing unit test before you write production code.
——测试先行
2、You must stop writing that unit test as soon as it fails; and not compiling is failing.
——测试一旦失败,开始写生产代码
3、You must stop writing production code as soon as the currently failing test passes.——老测试一旦通过,返回写新测试
原文链接:https://www.f2er.com/javaschema/287182.html