网站大量收购闲置独家精品文档,联系QQ:2885784924

lecture10-软件测试相关度量课件.ppt

  1. 1、本文档共66页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 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 1 Test 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 2 Estimating 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 3 Test 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

文档评论(0)

gm8099 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档