- 1、本文档共66页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Software Metrics;COCOMO;COCOMO: Basic;COCOMO: Intermediate;COCOMO II;Putnam’s SLIM;Test Concepts
Estimating Number of Test Case Allocating Test Times
Test Coverage Metrics
Remaining Defects Metrics;Section 1Test Concepts;防不胜防的软件错误 ——
例1:1963年, 美国, 飞往火星的火箭爆炸, 损失$ 10 million. 原因: FORTRAN循环 DO 5 I = 1, 3 误写为 DO 5 I = 1.3;What is software testing;Software Testing Objectives;1:5-10 Mainframes
i.e.,1 tester for every 5 to 10 developers
2:3 Microsoft, 1992
2:1 Lotus (for 1-2-3 Windows)
1:2 Average of 4 major companies,1992 Microsoft, Borland, WordPerfect, Novell;What is a test case?;A test is made up of (many) test cases
A test procedure is the detailed instructions for setting up, starting, monitoring and restarting a given test case. a.k.a test plan
a test case may be used in more than one test procedure
a test case may include many subtests;Test;Testing Methodology;Objective: Cover the software structure;Graph representation of control flow and
data flow relationships; Statement Coverage
Branch Coverage
Condition Coverage
Basis Path Coverage
All-Edges Coverage
All-Paths Coverage ;1
2
3
4
5
6
7
8
9
10
11
12
13
14
15;2,3,4;2,3,4;minimum level coverage using structural testing
may be impossible to achieve 100% statement coverage
code only executed in exceptional or dangerous circumstances
code that is unreachable;2,3,4;Branch Testing:weaknesses;2,3,4;Condition Coverage;2,3,4;2,3,4;Basis path testing:Strengths/weaknesses ;2,3,4;2,3,4;All-Paths testing;All-Paths testing (cont.);2,3,4;How many test cases are needed?;all-statements;Black Box Test;Testing Levels;Overall Approach;Section 2Estimating Number of Test Case Allocating Test Times ;Estimate No. of Test Cases;Example;Allocating Test Time;Test Time: Systems /1;Test Time: Systems /2;Test Case Invocation;Section 3Test Coverage Metrics;Test Coverage Metrics /1;Test Coverage /1;Test Coverage /2;Test Coverage /3;Test Coverage /4;Test Pass, Failure Pending Rate/1;Test Pas
您可能关注的文档
- 14-4 狭义相对论时空观1课件.ppt
- Eviews数据统计与分析教程8章课件.ppt
- 2010级市场调查与预测复习大纲.ppt
- 13白鹅完整版ppt课件.ppt
- 12祖国完全统一战略构想课件.ppt
- 14、画虾课件.ppt
- 13版《建设工程施工合同》 7.13课件.ppt
- Excel函攻培训教材(动画版)课件.ppt
- 14谁跟小羚羊去避暑2课件.ppt
- 15-4权德舆传87-88课件.ppt
- 2025届衡阳市第八中学高三一诊考试物理试卷含解析.doc
- 2025届湖南省娄底市双峰一中等五校重点中学高三第二次诊断性检测物理试卷含解析.doc
- 天水市第一中学2025届高三第二次联考物理试卷含解析.doc
- 2025届金华市重点中学高三考前热身物理试卷含解析.doc
- 2025届北京市石景山区第九中学高三第四次模拟考试物理试卷含解析.doc
- 江苏扬州市2025届高三第一次模拟考试物理试卷含解析.doc
- 2025届江苏省南通市高级中学高考物理五模试卷含解析.doc
- 广东省清远市华侨中学2025届高三第一次调研测试物理试卷含解析.doc
- 辽宁省凤城市2025届高三第五次模拟考试物理试卷含解析.doc
- 内蒙古巴彦淖尔市重点中学2025届高考仿真卷物理试卷含解析.doc
文档评论(0)