文档介绍:Software Engineering Conspectus Review ? The user interface design process ? User analysis ? User interface prototyping ? Coding rule ?1963 年美国飞往火星的火箭爆炸,原因是 FORTRAN 程序: DO 5 I=1 ,3 误写为: DO 5 I=1. 3 损失 1000 万美元。?1967 年苏联“联盟一号”宇宙飞船返回时因忽略一个小数点,在进入大气层时打不开降落伞而烧毁。?联通 2001 年某市话费核算系统平均 100 元话费误差 元微软核心项目组的人员构成约 350 人测试工程师 :1 测试\开发人员比例约 140 人开发工程师约 25 人程序经理 Exchange Server2000 约 3200 人约 350 人测试工程师 :1 :1 测试\开发人员比例约 1700 人约 140 人开发工程师约 250 人约 25 人程序经理 Windows2000 Exchange Server2000 Software testing Objectives ? To discuss the distinctions between validation testing and defect testing ? To describe the principles of system and component testing ? To describe strategies for generating system test cases Topics covered ? System testing ? Component testing ? Test case design The testing process ? Component testing ? Testing of individual ponents; ? Usually the responsibility of ponent developer (except sometimes for critical systems); ? Tests are derived from the developer ’ s experience. ? System testing ? Testing of groups ponents integrated to create a system or sub-system; ? The responsibility of an independent testing team; ? Tests are based on a system specification. ? Acceptance testing Testing process goals ? Validation testing ? To demonstrate to the developer and the system customer that the software meets its requirements; ? A essful test shows that the system operates as intended. ? Defect testing ? To discover faults or defects in the software where its behaviour is incorrect or not in conformance with its specification; ? A essful test is a test that makes the system perform incorrectly and so exposes a defect in the system. Defect testing ? The goal of defect testing is to discover defects in programs ? A essful test is a test which discovers one or more errors ? Tests show the presence not the absence of defects