[XA]转:软件开发方法--XP(eXtreme Programming)编程讲义二

接上文:[XA]转:软件开发方法--XP(eXtreme Programming)编程讲义一

No overtime.
 
®超时工作会吞噬开发组的精神和热情
®利用版本计划会来改变项目的范围和时间要求
®项目进度拖延时通过增加资源来改进也不是推荐的方法
 
Testing
 
®All code must have unit tests.
® All code must pass all unit tests before it
 can be released.
® When a bug is found tests are created.
® Acceptance tests are run often and the score
 is published.
 
All code must have unit tests
 
®单元测试是XP方法中的小界石,但与传统的单元测试略有不同
®1、要创建或下载一些单元测试工具以便能够自动生成测试数据
®2、测试系统中所有的类
®3、单元测试应与其所测试的代码一起发布
®4、没有单元测试的代码不能发布
®5、若发现没有进行单元测试,则立即开始进行
 
All code must pass all unit tests before it can be released
 
When a bug is found tests are created

Acceptance tests
are run often and the score is published
®验收测试来自user stories.
®每一次迭代时的迭代计划会都应选取适当的 user stories用于进行验收测试
®验收测试一种黑盒测试 ,客户负责确认验收测试的正确性,并评审测试结果,以确定所发现问题的重要性
®产品发布之间的回归测试也是一种验收测试
 







®The Third International Conference on eXtreme Programming and Agile Processes in Software Engineering, will be held May 26-29, 2002, in Alghero, Sardinia, Italy

原文:http://www.sawin.cn/doc/SoftMethod/XP/xp-ppt.htm
posted @ 2005-06-26 08:58  冰戈  阅读(1390)  评论(1编辑  收藏  举报