Agile

 

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.
——老测试一旦通过,返回写新测试

 

 

 

 

 

posted @ 2015-07-03 13:37  沧海一滴  阅读(204)  评论(0编辑  收藏  举报