- 1
- 0
- 约2.31千字
- 约 66页
- 2017-08-20 发布于浙江
- 举报
lecture10-软件测试的相关度量
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
您可能关注的文档
最近下载
- 山东省济南市钢城区2023-2024学年八年级上学期期末考试数学试卷(含答案).pdf VIP
- 2025海南农村商业银行招聘2人笔试参考题库附答案解析.docx VIP
- BS EN 50299-2-2014 72,5 kv至550 kv设备用最高电压的变压器和电抗器油浸电缆连接组件.第2部分:干式电缆终端.pdf VIP
- 2025ESC心肌炎和心包炎管理指南解读.pptx
- 轻型卒中临床诊疗中国专家共识(2024版).pdf VIP
- GB50330-2013建筑边坡工程技术规范.doc VIP
- 某市中心城区老旧小区改造工程项目可行性研究报告.docx VIP
- (高清版)DB33∕T 779-2010 雷公藤种植技术规范 .pdf VIP
- 2025-2026学年粤教粤科版(2024)小学科学三年级上册(全册)知识点清单.docx
- 《装配式混凝土结构技术规程》JGJ 1-2014.doc VIP
原创力文档

文档评论(0)