《软件测试 Software Testing》教学资源(PPT讲稿)Part 2 Testing Fundamentals

Software Testing (a (1D Kerry Zhu Zhu.kerry@gmaIl.com
Software Testing & QA (II) Zhu.Kerry@gmail.com Kerry Zhu

Testing Phases in SDlC System Other Customer o Unit Desig Functional software requirements User Specification requirements requirements specification Environment 3 Test 3 Unit Test oo3 Integration Function System Acceptance Installation Test Test Test Test Test 9=90 Integrated Functioning Verified, Accepted modules system validated test software System Unit use est
2 Testing Phases in SDLC Unit Test Integration Test Function Test Acceptance Test Installation Test System Test Unit Test Unit Test Components Design Specification System Functional requirements Other software requirements Customer requirements Specification User Environment Integrated modules Functioning system Verified, validated software Accepted test System in use Zhu.Kerry@gmail.com

Software Testing: Taxonomy yy purposes By life cycle phase By scope Correctness testing Requirements phase 3 Black-box testing Unit testing White-box Design phase testing -Component testing 3 Performance testing Program phase testing Integration testing Reliability testing Evaluating test results -System testing Robustness/strong Installation phase or In testing testing Unit testin Exception handling Acceptance testing -String testing testing Testing changes System testing a test Stress/load testing maintenance Acceptance testing(b Security testing test)
3 Software Testing: Taxonomy By purposes • Correctness testing – Black-box – White-box • Performance testing • Reliability testing - Robustness/strong testing - Exception handling testing - Stress/load testing • Security testing By life cycle phase • Requirements phase testing • Design phase testing • Program phase testing • Evaluating test results • Installation phase testing • Acceptance testing • Testing changes: maintenance By scope • implied in – Unit testing – Component testing – Integration testing – System testing • or in – Unit testing – String testing – System testing (a test) – Acceptance testing (b test) Zhu.Kerry@gmail.com

Part II: Testing Fundamentals N5天033983 4. EXamining the Specification 5. Testing the software with blinders on 6. EXamining the Code 7. Testing the Software with X-Ray Glasses Static Dynamic Data testing Black Box Examine MRD/PRD and specs State testing White Box Formal reviews Debug unit test
4 Part II: Testing Fundamentals ◼ 4. Examining the Specification. ◼ 5. Testing the Software with Blinders On. ◼ 6. Examining the Code. ◼ 7. Testing the Software with X-Ray Glasses. Black Box White Box Static Dynamic Examine MRD/PRD and specs Data testing State testing Formal reviews Debug, unit test Zhu.Kerry@gmail.com

Chapter 4 TESTING FUNDAMENTALS Examining the Specification
5 Chapter 4 TESTING FUNDAMENTALS Examining the Specification Zhu.Kerry@gmail.com

Software Development Life cycle N5天033983 MRD Review Fns Reviev QA Test Planning KP Test Resource Planning Test Strategy QR Functional MRD Engg Plan Test Plan SDLC PRODUCT REQUIREMENT PRODUCT DESIGN
6 Software Development Life Cycle QA KP PRODUCT REQUIREMENT QR MRD SDLC Functional Spec PRODUCT DESIGN - MRD Review - Test Resource Planning - FnS Review - Test Planning - Test Strategy Engg Plan Test Plan Zhu.Kerry@gmail.com

SPECIFICATION DOCUMENT 3.As we have seen, specifications are not easy to write o They are meticulously detailed(and often ponderous in g their wording Given even a simple program, rarely would two people program it the same way. We need to know what the user really wants One use for the specification document is that testers can find bugs even before a line of code is written
7 SPECIFICATION DOCUMENT • As we have seen, specifications are not easy to write. • They are meticulously detailed (and often ponderous in their wording) • Given even a simple program, rarely would two people program it the same way. We need to know what the user really wants. • One use for the specification document is that testers can find bugs even before a line of code is written. Zhu.Kerry@gmail.com

spec example 3 Let's see a example 3
8 Spec Example Let’s see a example Zhu.Kerry@gmail.com

What Happens If No spec 当· First, try to avoid such projects! 3 If you are stuck, you need to wait until you have the o software 3 Treat the software as the specification and explore it feature by feature Of course, you cannot tell if a feature is missing Start educating your company about the need to find bugs early in the development process
9 What Happens If No Spec • First, try to avoid such projects! • If you are stuck, you need to wait until you have the software. • Treat the software as the specification and explore it feature by feature. • Of course, you cannot tell if a feature is missing. • Start educating your company about the need to find bugs early in the development process! Zhu.Kerry@gmail.com

Why examining the spec N5天033983 In the past, most Software organizations are faced with a compelling need to Reduce cycle time Improve quality ° Reduce costs Improve productivity By Examining The Specification, we can We can find many bugs that we can't find through testing especially the logic design problems Find defects BEFORE production began ° Reduction of cost Shortening the software development life cycle
10 Why Examining the Spec ? ◼ In the past, most Software organizations are faced with a compelling need to: • Reduce cycle time • Improve quality • Reduce costs • Improve productivity ◼ By Examining The Specification, we can: • We can find many bugs that we can’t find through testing, especially the logic design problems. • Find defects BEFORE production began. • Reduction of cost. • Shortening the software development life cycle. Zhu.Kerry@gmail.com
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
- 《计算机网络安全技术》课程教学资源(PPT课件讲稿)第五章 防火墙技术.ppt
- 《数据库系统概论 An Introduction to Database System》课程教学资源(PPT课件讲稿)第一讲 绪论.ppt
- 《The C++ Programming Language》课程教学资源(PPT课件讲稿)Lecture 01 From C to C++.ppt
- 上海交通大学:《数字图像处理 Digital Image Processing》课程教学资源(PPT课件讲稿,第三版)Chapter 12 Object Recognition.pptx
- 《数据结构》课程教学资源(PPT课件讲稿)第二章 线性表.ppt
- 《C语言程序设计》课程电子教案(PPT课件讲稿)第4章 算法控制结构.ppt
- 沈阳理工大学:《大学计算机基础》课程教学资源(PPT课件讲稿)第3章 编辑排版软件(Microsoft Word 2000).pps
- 《操作系统》课程教学资源(PPT课件讲稿)内存管理 Memory Management.ppt
- 《电子商务概论》课程教学资源(PPT课件讲稿)第一章 电子商务基础知识(主讲:贾朝辉).pptx
- 南京大学:《编译原理》课程教学资源(PPT课件讲稿)第九章 机器无关的优化(赵建华).ppt
- 《计算科学基础研究》课程教学资源(PPT课件讲稿)类的定义.ppt
- 上海交通大学:《程序设计》课程教学资源(PPT课件讲稿)第9章 模块化开发.ppt
- 利用EXCEL进行数据分析与图表处理(PPT讲稿).pptx
- 北京师范大学:《多媒体技术基础》课程教学资源(PPT课件讲稿)第二章 数字图像(曾兰芳).ppt
- 上海交通大学:《通信网络》课程PPT教学课件(Communication Networks)Introduction(主讲:叶通).pptx
- 上海交通大学:《程序设计》课程教学资源(PPT课件讲稿)第4章 循环控制.ppt
- 《单片机原理及应用》课程教学资源(PPT课件讲稿)第6章 AT89S52单片机的串行口.ppt
- 中国科学技术大学:《并行计算 Parallel Computing》课程教学资源(PPT课件讲稿)并行编译简介.ppt
- 南京大学:《面向对象技术 OOT》课程教学资源(PPT课件讲稿)抽象数据类型 Abstract Data Types.ppt
- 《数据结构》课程教学资源:课程教学资源(PPT课件讲稿)第九章 查找表.ppt
- 《C语言程序设计》课程电子教案(PPT课件讲稿)第2章 数据类型及基本运算量.ppt
- Flexsim 初级培训讲义(PPT讲稿)Flexsim Basic Training.ppt
- 清华大家:字符串匹配算法(PPT讲稿)String Matching Algorithm(Overview & Analysis).ppt
- 四川大学:《Linux操作系统》课程教学资源(PPT课件讲稿)第3章 Shell及其编程(主计:潘薇).ppt
- 面向对象程序设计语言(PPT课件讲稿).ppt
- 《面向对象程序设计》课程教学资源(课件讲稿)C++语言的面向对象特征、Java语言的面向对象特征、Python语言的面向对象特征、R语言的面向对象特征.ppt
- 安徽理工大学:《Linux开发基础 Development Foundation on Linux OS》课程教学资源(PPT课件讲稿)GNU C/C++ programming、CGI programming in GNU C/C++ language(方贤进).ppt
- 《Photoshop基础教程与上机指导》课程教学资源(PPT讲稿)第8章 简单编辑图像.ppt
- 中国科学技术大学:《计算机组成原理》课程教学资源(PPT课件讲稿)第五章 虚拟存储器(主讲:李曦).ppt
- 中国科学技术大学:《计算机视觉》课程教学资源(PPT课件讲稿)第七章 基于运动视觉的场景复原.ppt
- 计算机应用基础课程:《信息技术应用基础》教学资源(PPT课件讲稿)第一章 中文WIN98操作系统.ppt
- 山东大学:《微机原理及单片机接口技术》课程教学资源(PPT课件讲稿)第十一章 复位、时钟和省电方式控制.ppt
- 中国科学技术大学:《计算机体系结构》课程教学资源(PPT课件讲稿)第6章 Data-Level Parallelism in Vector, SIMD, and GPU Architectures.ppt
- 北京航空航天大学:《程序语言设计原理》课程教学资源(PPT课件讲稿)并发程序设计语言.ppt
- 北京航空航天大学:《程序语言设计原理》课程教学资源(PPT课件讲稿)第三章 过程式程序设计语言.ppt
- 《微机原理及应用》课程教学资源(PPT课件讲稿)第4章 汇编语言程序设计.pptx
- 清华大学出版社:普通高校本科计算机专业特色教材精选《智能技术》课程教学资源(PPT讲稿课件)第4章 模糊逻辑技术(曹承志).ppt
- 《C++大学教程》课程教学资源(PPT课件讲稿)Chapter 17 文件处理 File Processing.ppt
- 《网站开发》课程教学资源(PPT课件讲稿)网站开发各阶段的任务.ppt
- 《数据结构》课程教学资源(PPT课件讲稿)第十章 文件、外部排序与外部搜索.ppt