Software Engineering 2007/2008 Chapter 9 Testing the System.

Slides:



Advertisements
Similar presentations
Software Engineering 2007/2008 Chapter 2 Modeling the Process and Life Cycle.
Advertisements

CADAL 资源数字化系统 -- 浙江大学计算机学院. 项目目标和任务 多媒体资源数字化的解决方案 ▫ 支持:图片、视频、音频 工作流管理 ▫ 资源数字化流水线 元数据标引 ▫ 元数据录入 ▫ 元数据模板生成 多媒体编辑 ▫ 图片编辑 ▫ 视频编辑 ▫ 音频编辑.
PHPCMS 使用指南及二次开发向导 --- 系统设置篇 PHPCMS 网络培训课程 --- 系统设置篇 PHPCMS 项目部 王官庆制作 系统相关设置 1. 站点管理 2. 发布点管理 3. 系统其它设置 管理员设置 1. 角色定义 2. 管理员管理.
2011 年 2 月 产品介绍. 产品介绍 产品目标 产品目标 系统功能特性 系统功能特性 技术特点 技术特点 部署方式 部署方式.
编译程序 构造原理和实现技术 授课教师:吕江花. 第一章 编译程序概述 主要内容: 几个基本概念 编译器的工作过程概述 编译器各个阶段的功能描述 编译程序的实现途径.
Chapter 9 Testing the System, part 2. Testing  Unit testing White (glass) box Code walkthroughs and inspections  Integration testing Bottom-up Top-down.
信息安全专业培养计划 Undergraduate Program for Specialty in Information Security ( Version 2009 ) 计算机科学与工程学院 方贤进 博士, 副教授 MSN:
四、 建筑安装工程费用构成 四 清单建筑安装工程费用构成 (一)、 建筑安装工程费用的构成 1 、直接费 ( 1 )、直接工程费 ( 2 )、措施费 2 、间接费 ( 1 )、规费 ( 2 )、企业管理费 3 、利润 4 、税金 ( 1 )、营业税 ( 2 )、城市维护建设税 ( 3 )、教育费附加.
塑 性 加 工 学 实 验 课 件塑 性 加 工 学 实 验 课 件 — 金属室温压缩变形抗力测定及加工硬化分析 南京理工大学材料科学与工程系 制作人:尹德良.
第 4 章 抽象解释 内容概述 以一种独立于编程语言的方式,介绍抽象解释的 一些本质概念 – 将 “ 程序分析对语言语义是正确的 ” 这个概念公式 化 – 用 “ 加宽和收缩技术 ” 来获得最小不动点的较好的 近似,并使所需计算步数得到限制 – 用 “ 伽罗瓦连接和伽罗瓦插入 ” 来把代价较大的属 性空间用代价较小的属性空间来代替.
Observation and Practical Study CHAPTER6. Research Methods -6 Designed by F.Y.N. 一、 Overview on Observation  The Significance and Characteristics of.
1 为了更好的揭示随机现象的规律性并 利用数学工具描述其规律, 有必要引入随 机变量来描述随机试验的不同结果 例 电话总机某段时间内接到的电话次数, 可用一个变量 X 来描述 例 检测一件产品可能出现的两个结果, 也可以用一个变量来描述 第五章 随机变量及其分布函数.
中国科学院 计算机网络信息中心 Computer Network Information Center, Chinese Academy of Sciences 人事统计用户操作培训 (2011 年度 ) 2012 年 1 月.
1 第七章 灼热桥丝式电雷管. 1. 热平衡方程 C ℃ 冷却时间 2. 桥丝加热过程 ⑴忽略化学反应惰性方程 ; (2) 为简化集总参数 C, (3) 热损失有两部分 : 轴向与径向 ; 第一种情况 在大功率下忽略热损失, 第二种情况 在输入低功率下 输入 = 散失热量 I I = 3 电容放电时的桥丝温度和发火能量(电容放电下,
模拟电子技术 模拟电子技术实验 主 编 李 林 副主编 沈明霞 刘德营 陆静霞 参 编 黄桂林 杨红兵 邹修国 徐 友 邹春富 主 审 尹文庆.
第十一章 曲线回归 第一节 曲线的类型与特点 第二节 曲线方程的配置 第三节 多项式回归.
2.4 基本设计表达式 随机变量的统计特征值 结构的可靠性与可靠 基本设计表达式.
兰州理工大学 1 第九章 CAD/CAM 系统集成 9.1 概述 9.2 3C 内部集成存在的问题和解决的办法 9.3 CAD/CAM 集成方法 9.4 3C/PDM 集成方法 9.5CIM 与 CIMS.
第二章 随机变量及其分布 第一节 随机变量及其分布函数 一、随机变量 用数量来表示试验的基本事件 定义 1 设试验 的基本空间为 , ,如果对试验 的每一个基 本事件 ,规定一个实数记作 与之对应,这样就得到一个定义在基本空 间 上的一个单值实函数 ,称变量 为随机变量. 随机变量常用字母 、 、 等表示.或用.
绪 论 一、药物分析性质与任务 二、国家药品标准 三、药品质量管理规范 四、课程的要求. 药 品 用于预防、治疗、诊断人的疾病, 有目的地调节人的生理机能并规定有适应 症或者功能主治、用法用量的物质, 是广大人民群众防病治病、保护健康必不 可少的特殊商品。 《中华人民共和国药品管理法》 性质与任务.
局域网技术 第二章 局域网规划与设计. 2.1 局域网组建初期构想 局域网组建的需求分析 以实用、好用、够用为准则 局域网组建性能分析 1 、开放性 2 、可靠性 3 、安全性 4 、先进性 5 、易用性 6 、可扩展性 7 、传输延迟 8 、传输有效性.
大亚湾 PMT 读出电子学介绍 王铮 中科院 “ 核探测技术与核电子学重点实验室 ” 年会.
1 第 7 章 专家控制系统 概述 专家系统的起源与发展 专家系统的一般结构 专家系统的知识表示和获取 专家系统的特点及分类.
第二章 贝叶斯决策理论 3学时.
流态化 概述 一、固体流态化:颗粒物料与流动的流体接触,使颗粒物料呈类 似于流体的状态。 二、流态化技术的应用:流化催化裂化、吸附、干燥、冷凝等。 三、流态化技术的优点:连续化操作;温度均匀,易调节和维持; 气、固间传质、传热速率高等。 四、本章基本内容: 1. 流态化基本概念 2. 流体力学特性 3.
UML 对象设计与编程 主 讲 : 董兰芳 副教授 Dept. of Computer Science,USTC
第七章 无形资产评估 第一节 无形资产评估概述 第二节 无形资产评估的收益法 第三节 无形资产评估的成本法 第四节 无形资产评估的市场法 第五节 专利权和非专利技术评估 第六节 商标权评估 第七节 商誉的评估.
实验八 — 高分子材料的老化性 能测定. 南京理工大学化工学院 一、 实验目的  1. 了解橡胶的老化机理  2. 掌握鼓风老化试验箱的使用方法  3. 测定老化前后的力学性能.
执法规范化与现代化 国家行政学院法学部副主任、教授、博导杨小军
第二章 通信技术基础 谈英姿 东南大学自控系工业自动化教研室. 通信技术基础 2.1 通信的基本概念 2.2 通信协议与网络层次分析 2.3 常用串行通信技术.
战 略 变 革 吉林大学商学院. 本专题学习目的 1 、了解战略变革的动因、模式 2 、理解战略变革的程序.
国家高性能计算中心(合肥) 十五 并行程序设计环境与工具. 国家高性能计算中心(合肥) 并行程序设计环境与工具  15.1 软件工具与环境  15.2 并行编译器  15.3 并行程序调试  15.4 并行程序性能分析  15.5 图形化并行程序集成开发环境.
编译原理总结. 基本概念  编译器 、解释器  编译过程 、各过程的功能  编译器在程序执行过程中的作用  编译器的实现途径.
1.2 地理信息技术在区域 地理环境研究中的应用. 地理信息技术: 指获取、管理、分析和 应用地理空间信息的现 代技术的总称。 应用:资源调查、环境监测、自然灾害防御监测、国 土资源管理、国土开规划等。 地理信息 : 遥感 (RS) 、全球定位系统 (GPS) 和地理信息系统 (GIS)
信息科学部 “ 十一五 ” 计划期间 优先资助领域 信息科学部 秦玉文 2006 年 2 月 24 日.
§8-3 电 场 强 度 一、电场 近代物理证明:电场是一种物质。它具有能量、 动量、质量。 电荷 电场 电荷 电场对外的表现 : 1) 电场中的电荷要受到电场力的作用 ; 2) 电场力可移动电荷作功.
小组讨论:尹智逊、赵宝忠、刘荣、唐雪宗 Mean Time Between Failure 平均故障时间 Member赵宝忠刘荣尹智逊唐雪宗.
Pfleeger and Atlee, Software Engineering: Theory and Practice CS499 Chapter 9 Testing the System Shari L. Pfleeger Joann M. Atlee 4 th Edition.
Functional Testing Test cases derived from requirements specification document – Black box testing – Independent testers – Test both valid and invalid.
System Testing There are several steps in testing the system: –Function testing –Performance testing –Acceptance testing –Installation testing.
网上预约集港操作指南 一、登录系统 登陆下面图片显示网址:输入堆场用户名、密码和校验码登陆系统.
首 页 首 页 上一页 下一页 本讲内容本讲内容 视图,剖视图(Ⅰ) 复习: P107 ~ P115 作业: P48(6-2,6-4), P49( 去 6-6) P50, P51(6-13), P52 P50, P51(6-13), P52 P53 (6-18,6-20) P53 (6-18,6-20)
基因工程技术向 “ 肥胖 ” 宣战 瘦蛋白( Leptin) 基因 克隆与表达 瘦蛋白的基因工程.
常州机电职业技术学院 数控编程与加工技术 精品课程 项目 3 加工中心程序编制 模块 2 方形型腔类零件 上饶职业技术学院 课程负责人:罗根云 2011 年 5 月
Chapter 9 Testing the System Shari L. Pfleeger Joann M. Atlee
1. 2 目 录 一、闸门分类、系统构成 二、供电管理子系统 三、现地控制单元 四、通信系统 五、后台管理及调度决策系统.
1 Signals and Systems Lecture 26 Properties of Laplace Transform Analysis LTI System using LT System Function.
1 物体转动惯量的测量 南昌大学理学院
Java 水晶报表. 目录 水晶报表开发 (CrystalReports 2008) Java 水晶报表 (JBuilder 2005) 报表项目布署 (WebSphere v6.1)
表单自定义 “ 表单自定义 ” 功能是用于制作表单的 工具,用数飞 OA 提供的表单自定义 功能能够快速制作出内容丰富、格 式规范、美观的表单。
卡罗拉 1.6L GL -AT 汽车空调故障诊断 何建龙 杭 州 技 师 学 院. 学习与工作任务描述 一位车主抱怨:其座驾一辆卡罗拉轿 车,夏天时感觉自己车子的空调效果差了 很多,其他信息未提供。 请你来维修。
力的合成 力的合成 一、力的合成 二、力的平行四边形 上一页下一页 目 录 退 出. 一、力的合成 O. O. 1. 合力与分力 我们常常用 一个力来代替几个力。如果这个 力单独作用在物体上的效果与原 来几个力共同作用在物体上的效 果完全一样,那么,这一个力就 叫做那几个力的合力,而那几个 力就是这个力的分力。
太阳能综合利用技术 中国科学技术大学热科学和能源工程系. 一、多功能热泵系统 多功能家用热泵样机通过控制元件的切换 可以实现三种运行模式:①单独制热水模 式,②制冷兼制热水模式,③制暖模式。
节能技术改造中央财政奖励项目 节能量审核方法及步骤. 内容提要  节能技术改造政策及效果  节能技改节能量审核方法及步骤  节能量审核挑战 2.
海军工程大学信息安全系 汇报人:周学广 教授 基于主题情感混合模型 的无监督文本情感分析. 海军工程大学信息安全系 主要内容 一 LDA 模型 二 UTSU 模型 三 实验对比与分析.
工程实训中心 超外差式收音机制作 重庆交通大学工程实训中心 Chongqing Jiaotong University.
新奥能源综合运营调度模式 研究及信息化实现 2016年1月31日 2016年1月31日 2016年1月31日 李 伟李 伟.
院长助理 教务处长 李学锋 教授 2008 年 9 月 9 日 基于工作过程的系统化高职课程建设.
感谢您的关注 联系电话: – 677 手机: QQ :
三相交流变频调速实验箱 武船集团技工学校 武船集团技工学校 熊 跃 熊 跃. 三相交流变频调速实验箱评审结论 “ 变频器控制及执行机构应用研究 ” 依照计划书和立题报告的内容,按节点要求完成了该装置的设计 制造与调试。填补了本单位相关调速实验设备在具体设计、安装、调试和应用研究方面的技术空白。 该装置可完成变频器的常用控制实验和其它应用模拟实验研究。在设计、组装、调试和应用功能研.
1. 利用图形化开发环境 LabVIEW 对 Xilinx Spartan3E 进行编程 汤敏 NI 高校市场部.
U niversity of S cience and T echnology of C hina VxWorks 及其应用开发 陈香兰 年 7 月.
3D 仿真机房建模 哈尔滨工业大学 指导教师:吴勃英、张达治 蒋灿、杜科材、魏世银 机房尺寸介绍.
欢 迎 使 用 《工程流体力学》 多媒体授课系统 燕 山 大 学 《工程流体力学》课程组. 第九章 缝隙流动 概述 9.1 两固定平板间的层流流动 9.2 具有相对运动的两平行平板 间的缝隙流动 9.3 环形缝隙中的层流流动.
参展主要内容 以信息科技支撑现代农业为主题,包括精准农业、数字农业、农 业物联网、农业遥感、信息服务 5 部分内容,重点展示科研院所、大 专院校等单位的科研成果及应用示例。精准农业重点展示面向设施、 果园、大田生产管理过程中的关键技术及智能装备,以精准施肥、施 药、灌溉大型机具实物展示为主,同时将搭建微型温室(约.
人力资源和社会保障部职业能力建设司. » 《一体化课程开发技术规程》编写综述 » 《一体化课程开发技术规程》内容解读 » 《一体化课程开发技术规程》使用建议.
SME.USTB Human Factors 人机工程学 By Wei Dong Department of Industry Design, SME, USTB.
车路协同环境下的交通信号动态配时 西南交通大学 沈旅欧 日期: 2016 年 5 月 22 日. 一、车路协同环境 二、交通信号动态配时.
Testing the System.
Presentation transcript:

Software Engineering 2007/2008 Chapter 9 Testing the System

Learning objectives Learning Objectives: After studying this chapter, you should be able to:   Describe how system testing differs from unit and integration testing.   Classify tests as function testing, performance( 性能 ) testing, acceptance testing or installation testing.   Understand the purposes and roles of function testing, performance testing, acceptance testing, and installation testing.   Define software reliability( 可靠性 ), maintainability and availability( 可用性,有效性 ).   Describe different techniques for measuring reliability, maintainability and availability.   List the different types of test documentation and know what items belong in test documentation.   Understand the special problems associated( 相关的, 结 合的 ) with testing safety-critical( 临界的, 决定性的 ) systems.   Describe the principles( 原理 ) of Cleanroom( 净室 ) and how it differs from conventional( 常规的 ) testing.

9.1 PRINCIPLES OF SYSTEM TESTING Sources( 来源 ) of Software Faults FIGURE 9.1 Causes of faults during development

9.1 PRINOPLES OF SYSTEM TESTING System Testing Process There are several steps in testing a system: 1. function testing 2. performance testing 3. acceptance testing 4. installation testing

9.1 PRINOPLES OF SYSTEM TESTING  Process objectives.  Build or Integration Plan.  Configuration Management( 配置管理 )  Versions( 文本, 版本, 方案, 译本 ) and Releases( 版本, 发布 ).  Regression Testing( 回归测试 ). 1. Inserting your new code 2. Testing functions known to be affected by the new code 3. Testing essential( 基本, 本质 ) functions of m to verify that they still work properly (the actual regression testing) 4. Continuing function testing of m + 1

9.1 PRINOPLES OF SYSTEM TESTING  Deltas(δ, 增量 ), Separate Files( 分开的, 单独的 ), and Conditional Compilation( 条件编译 )  Change Control( 更改控制 ). Test Team  Professional testers organize and run the tests.  System designers

9.2 FUNCTION TESTING  Purpose and Roles( 目标与任务 ) have a high probability of detecting a fault( 尽可能 地发现错误 ) use a test team independent of the designers and programmers know the expected actions and output test both valid and invalid input( 有效与无效输入都 测试 ) never modify the system just to make testing easier( 决不因简化测试而修改系统 ) have stopping criteria( 有停止测试的标准 ) Function testing is performed in a carefully controlled situation.

9.2 FUNCTION TESTING Cause-and-Effect( 因果关系 ) Graphs Cause-and-effect graph.

9.3 PERFORMANCE TESTING( 性能测试 ) Purpose and Roles( 目的与任务 ) Performance testing examines how well the calculation( 计算 ) is done; the speed of response( 响应 ) to user commands, accuracy( 准确性 ) of the result, and accessibility( 可接近性; 可达性 ) of the data are checked against the customer's performance prescriptions( 规定, 指示 )

9.3 PERFORMANCE TESTING( 性能测试 ) ◆ Types of Performance Tests  Stress tests( 强度测试 ).  Volume tests( 批量测试 ).  Configuration tests( 配置测试 ).  Compatibility tests( 兼容性 ).  Regression tests( 回归测试 ).  Security tests( 安全性测试 ).  Timing tests( 实时测试 ).  Environmental tests( 环境试验 ).  Quality tests( 质量测试 ).  Recovery tests( 修复测试 ).  Maintenance tests.  Documentation tests.  Human factors tests( 人为因素测试 )

9.4 RELIABILITY( 可靠性 ), AVAILABILITY( 有效性 ) AND MAINTAINABILITY( 可维护性 ) Definitions( 定义 ) Reliability involves behavior over a period of time, but availability describes something at a given point in time. software availability is the probability( 可能性 ) that a system is operating successfully according to specification at a given point in time. software maintainability is the probability that, for a given condition of use, a maintenance activity can be carried out within a stated time interval and using stated procedures and resources.

9.4 RELIABILITY( 可靠性 ), AVAILABILITY( 有效性 ) AND MAINTAINABILITY( 可维护性 )  Measuring Reliability Availability' and Maintainability  Mean Time to Failure (MTTF). ( 失效时间, 故障时 间, 无故障工作时间 )  Mean Time to Repair (MTTR)( 平均修复时间 ) Mean Time between Failures (MTBF)( 平均故 障间隔时间 ), MTBF = MTTF + MTTR reliability as R = MTTF/(1 + MTTF) A = MBF/(1 + MTBF) M = 1/(1 + MTTR)  Reliability( 可靠性 ) Stability( 稳定性 ) and Growth( 扩充, 生长 )

9.4 RELIABILITY( 可靠性 ), AVAILABILITY( 有效性 ) AND MAINTAINABILITY( 可维护性 )  Reliability Prediction( 可靠性预测 )  Importance( 重要性 ) of the Operational Environment statistical testing( 统计测试 ) 1. Testing concentrates on the parts of the system most likely to be used and hence should result in a system that the user finds more reliable. 2. Reliability predictions based on the test results should give us an accurate prediction of reliability as seen by the user. However, it is not easy to do statistical testing properly There is no simple or repeatable way of defining operational profiles. We see later in this chapter how clean-room software development integrates statistical testing into its approach to building quality software.

9.5 ACCEPTANCE TESTING Purpose and Roles( 目标与任务 ) The purpose of acceptance testing is to enable the customers and users to determine if the system we built really meets their needs and expectations. Thus, acceptance tests are written, conducted( 实施的 ), and evaluated by the customers, with assistance( 协助 ) from the developers only when the customer requests an answer to a technical question.

9.5 ACCEPTANCE TESTING  Types of Acceptance Tests A pilot test( 小规模试验 ) alpha test(α 测试 ) , beta test(β 测试 ) , parallel testing( 并行 测试 ). Results of Acceptance Tests

9.6 INSTALLATION TESTING The final round of testing involves installing the system at user sites. Installation tests require us to work with the customer to determine what tests are needed on-site. When the customer is satisfied with the results, testing is complete and the system is formally delivered.

9.7 AUTOMATED SYSTEM TESTING  simulator( 模拟器;模拟程序;模拟系统 )

9.8 TEST DOCUMENTATION Test Plans  guide the management of testing  guide the technical effort required during testing  establish( 建立, 制定 ) test planning and scheduling, including specifying equipment needed, organizational requirements, test methods, anticipated outcomes, and user orientation  explain the nature and extent( 程度,范围,区域 ) of each test  explain how the tests will completely evaluate system function and performance  document test input, specific test procedures, and expected outcomes

9.8 TEST DOCUMENTATION  the test schedule includes 1. the overall testing period 2. the major subdivisions( 子部分, 子划分 ) of testing, and their start and stop times 3. any pretest( 预先试验 ) requirements (such as orientation( 定向, 定位 ) or familiarization( 熟 悉, 通晓 ) with the system, user training, or generation of test data) and the time necessary for each 4. the time necessary for preparing and reviewing the test report

9.8 TEST DOCUMENTATION  Test Specification( 测试技术要求, 测试规范 ) and Evaluation( 评价 )  Is the system using actual input from users or devices, or are special cases generated by a program or surrogate( 代用 ) device?  What are the test coverage criteria( 覆盖标准 )?  How will data be recorded?  Are there timing, interface, equipment, personnel, database, or other limitations( 局限 性 ) on testing?  If the test is a series of smaller tests, in what order are the tests to be performed?

9.8 TEST DOCUMENTATION  Test Analysis Report( 测试分析报告 )  It documents the results of a test.  If a failure occurs, the report provides information needed to duplicate( 复制, 转录 ) the failure (if necessary) and to locate and fix( 固定 ) the source of the problem.  It provides information necessary to determine if the development project is complete.  It establishes( 建立 ) confidence( 信心 ) in the system's performance.

9.8 TEST DOCUMENTATION  Problem Report( 问题报告 ) Forms( 格式, 表格 )  Location( 定位, 位置 ): Where did the problem occur?  Timing: When did it occur?  Symptom( 症状 ): What was observed?  End result: What were the consequences?  Mechanism( 机制 ): How did it occur?  Cause: Why did it occur?  Severity( 严重性 ): How much was the user or business affected?  Cost: How much did it cost?

9.9 TESTING SAFETY-CRITICAL( 临 界安全 ) SYSTEMS