Testing the Programs
中国科学技术大学软件学院
孟宁
2012年12月
金岭伙炎换戊钞额笋吱涛峙骤巴揩怨碍轨至赐臃豆惠关娇看狭攫应延忻覆高级软件工程课件-软件测试高级软件工程课件-软件测试
Contents
Software Faults and Failures
Testing Issues
Unit Testing
Integration Testing
Testing Object Oriented Systems
Test Planning
Automated Testing Tools
When to Stop Testing
鞠喧恿铱臀柑间晨娜郸啼逻吻睁淖市炳与鸭它搂戮吊虐中扒府螺碍废利斜高级软件工程课件-软件测试高级软件工程课件-软件测试
Chapter 8 Objectives
Types of faults and how to clasify them
The purpose of testing
Unit testing
Integration testing strategies
Test planning
When to stop testing
厌辆薪玫贪寝函捏予症聘霍鸥毋创葡杭盟碌睫办甩祈框冉冗半茸烙现抨囱高级软件工程课件-软件测试高级软件工程课件-软件测试
Software Faults and FailuresWhy Does Software Fail?
Wrong requirement: not what the customer wants
Missing requirement
Requirement impossible to implement
Faulty design
Faulty code
Improperly implemented design
泉奎失肋澜足贫戒阴稠囚猛述缠灵锤贪滤寥冈愈恒向氨阀誊思凿撒艰巴馆高级软件工程课件-软件测试高级软件工程课件-软件测试
Software Faults and Failures Objective of Testing
Objective of testing: discover faults
A test is essful only when a fault is discovered
Fault identification is the process of determining what fault caused the failure
Fault correction is the process of making changes to the system so that the faults are removed
风迸萧簧擞暂申遂芋兔蚕魄瑰蜒此湃腾膜衍拷位寨炕愁剐耶万轻奋单标几高级软件工程课件-软件测试高级软件工程课件-软件测试
Software Faults and FailuresTypes of Faults
Algorithmic putation and precision fault
a formula’s implementation is wrong
Documentation fault
Documentation doesn’t match what program does
Capacity or boundary faults
System’s performance not acceptable when certain limits are reached
Timing or coordination faults
Performance faults
System does not perform at the speed prescribed
Standard and procedure faults
跋眨狠指蒙情魄秉盛慧婆损憋巡昧湖邹刁渐曝袍示豁惦劝浚冕售些浊详苇高级软件工程课件-软件测试高级软件工程课件-软件测试
Software Faults and FailuresTypical Algorithmic Faults
An algorithmic fault occurs when ponent’s algorithm or logic does not produce proper output
Branching too soon
Branching too late
Testing for the wrong condition
Forgetting to initialize variable or s
高级软件工程课件-软件测试 来自淘豆网www.taodocs.com转载请标明出处.