同济大学:《软件测试》课程电子教案(PPT课件)Chapter 04 Test Design Techniques

Testing is part of quality assurance Software Testing Chapter 4: Test Design Techniques 同海大学 TONGJI UNIVERSITY
Software Testing Testing is part of quality assurance. Chapter 4: Test Design Techniques

Outline .The Test Development Process Categories of Test Design Techniques .Specification-based or Black-box Techniques .Structure-based or White-box Techniques Experience-based Techniques .Choosing Test Techniques 同濟大学 TONGJI UNIVERSITY SoftwareTesting 16.12.2023
Outline •The Test Development Process •Categories of Test Design Techniques •Specification-based or Black-box Techniques •Structure-based or White-box Techniques •Experience-based Techniques •Choosing Test Techniques Software Testing 16.12.2023 2

The Test Development Process Learning Target >Differentiate between a test design specification,test case specification and test procedure specification (K2) >Compare the terms test condition,test case and test procedure(K2) >Evaluate the quality of test cases(K2) >Translate test cases into a well-structured test procedure specification (K3) GOAL 同濟大学 TONGJI UNIVERSITY SoftwareTesting 16.12.2023 3
The Test Development Process ➢ Differentiate between a test design specification, test case specification and test procedure specification (K2) ➢ Compare the terms test condition, test case and test procedure (K2) ➢ Evaluate the quality of test cases (K2) ➢ Translate test cases into a well-structured test procedure specification (K3) Learning Target Software Testing 16.12.2023 3

The Test Development Process Testing life cycle Test condition Test case Test case Test case Test case identification design implementation execution management 同濟大学 TONGJI UNIVERSITY SoftwareTesting 16.12.2023
The Test Development Process Testing life cycle Test condition identification Test case design Test case implementation Test case execution Test case management Software Testing 16.12.2023 4

The Test Development Process Testing life cycle Test condition identification Recognition test items and events,through different ways to describe them,like:simple sentences or control flow graph; >Test case design Determine how to test the test condition which has been identified; Test case implementation including preparation of test scripts,test input,test data and the expected results 同濟大学 TONGJI UNIVERSITY SoftwareTesting 16.12.2023 5
The Test Development Process Testing life cycle ➢ Test condition identification : Recognition test items and events, through different ways to describe them, like : simple sentences or control flow graph; ➢ Test case design : Determine how to test the test condition which has been identified; ➢ Test case implementation : including preparation of test scripts, test input, test data and the expected results Software Testing 16.12.2023 5

The Test Development Process Testing life cycle >Test case execution To test the system by running test cases.If the output of the test results and expected results are the same,then considering the test case is ok; >Test case management Includes test case organization,test case track and test case maintenance. 同濟大学 TONGJI UNIVERSITY SoftwareTesting 16.12.2023 6
The Test Development Process Testing life cycle ➢ Test case execution : To test the system by running test cases. If the output of the test results and expected results are the same, then considering the test case is ok; ➢ Test case management : Includes test case organization, test case track and test case maintenance. Software Testing 16.12.2023 6

The Test Development Process Testing life cycle--Test condition identification A program reads 3 integers,the 3 values as 3 sides of a triangle length values.This program prints out thethe triangle is inequilateral triangle,equilateral triangle or equicrural triangle Test condition identification:whats the specific shapes of triangle printed by the program? 同濟大学 TONGJI UNIVERSITY Software Testing 16.12.2023 7
The Test Development Process A program reads 3 integers, the 3 values as 3 sides of a triangle length values. This program prints out the the triangle is inequilateral triangle , equilateral triangle or equicrural triangle. Testing life cycle--Test condition identification Test condition identification: whats the specific shapes of triangle printed by the program? Software Testing 16.12.2023 7

The Test Development Process Testing life cycle--Test case design Test Design Techniques Block-box ·equivalence partitionging White-box ·boundary value ·statement coverage ·causal diagrams and ·branch coverage decision tables ·condition coverage state transition testing ·path coverage ·cause and effect diagram 同濟大学 TONGJI UNIVERSITY SoftwareTesting 16.12.2023 8
The Test Development Process Testing life cycle--Test case design Block-box • equivalence partitionging • boundary value • causal diagrams and decision tables • state transition testing • cause and effect diagram Test Design Techniques White-box • statement coverage • branch coverage • condition coverage • path coverage Software Testing 16.12.2023 8

The Test Development Process Testing life cycle--Test case implementation and so on ● test results expected Test Results Expected test data Test Data test input Test Input test preconditions Test Preconditions 同濟大学 TONGJI UNIVERSITY Software Testing 16.12.2023 9
The Test Development Process Testing life cycle--Test case implementation Test Results Expected Test Data Test Input Test Preconditions and so on Software Testing 16.12.2023 9 test preconditions test input test data test results expected

The Test Development Process Testing life cycle--Test case execution Test environment to build Input test data Check the output Compare the result Submit the bug report 同濟大学 TONGJI UNIVERSITY SoftwareTesting 16.12.2023 10
The Test Development Process Testing life cycle--Test case execution Software Testing 16.12.2023 10
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
- 同济大学:《软件测试》课程电子教案(PPT课件)Chapter 03 Static Techniques.pptx
- 同济大学:《软件测试》课程电子教案(PPT课件)Chapter 02 Testing throughout the Software Lifecycle.pptx
- 同济大学:《软件测试》课程电子教案(PPT课件)Chapter 01 Soft Testing - Fundamentals of Testing.pptx
- 西安电子科技大学:《网络计算》课程PPT教学课件(Android Programming)Lecture 10 Multimedia.pptx
- 西安电子科技大学:《网络计算》课程PPT教学课件(Android Programming)Lecture 9 Service and Broadcast Receiver.pptx
- 西安电子科技大学:《网络计算》课程PPT教学课件(Android Programming)Lecture 8 Multi-threading.pptx
- 西安电子科技大学:《网络计算》课程PPT教学课件(Android Programming)Lecture 7 Data Persistence.pptx
- 西安电子科技大学:《网络计算》课程PPT教学课件(Android Programming)Lecture 6 List View and Custom View.pptx
- 西安电子科技大学:《网络计算》课程PPT教学课件(Android Programming)Lecture 5 Intent.pptx
- 西安电子科技大学:《网络计算》课程PPT教学课件(Android Programming)Lecture 4 Activity, Intent and UI.pptx
- 西安电子科技大学:《网络计算》课程PPT教学课件(Android Programming)Lecture 3 File structure and Layout.pptx
- 西安电子科技大学:《网络计算》课程PPT教学课件(Android Programming)Lecture 2 Introduction to Java and Object Oriented Programming.pptx
- 西安电子科技大学:《网络计算》课程PPT教学课件(Android Programming)Lecture 1 Introduction to Network Computing(主讲:栾浩).pptx
- 《算法基础》课程教学资源(学习笔记)算法基础 课堂笔记.pdf
- 长沙理工大学:《微机原理与接口技术》课程教学资源(大纲教案)微机原理与应用授课教案(负责人:叶青,打印版).pdf
- 同济大学:《逻辑网络》课程电子教案(PPT课件)数字设计中的基本电路 Introduction to the circuits in digital design.ppt
- 同济大学:《逻辑网络》课程电子教案(PPT课件)异步时序电路分析与设计 Introduction to asynchronous circuits design.ppt
- 同济大学:《逻辑网络》课程电子教案(PPT课件)寄存器与计数器 register and counters.ppt
- 同济大学:《逻辑网络》课程电子教案(PPT课件)同步时序电路设计中的问题 Advanced design issue.ppt
- 同济大学:《逻辑网络》课程教学资源(试卷习题)考试样卷.doc
- 同济大学:《软件测试》课程电子教案(PPT课件)Chapter 05 Test Management.pptx
- 同济大学:《软件测试》课程电子教案(PPT课件)Chapter 06 Tool Support for Testing.pptx
- 同济大学:《软件测试》课程电子教案(PPT课件)How To Do High Quality Research, Write Acceptable Papers, and Make Effective Presentations?.ppt
- 《软件测试》课程电子教案(参考资料)Standard glossary of terms used in Software Testing(Version 2.0).pdf
- 《软件测试》课程电子教案(参考资料)Certified Tester Foundation Level Syllabus Released(Version 2011).pdf
- 《软件测试》课程电子教案(参考资料)Certified Tester Foundation Level Syllabus Released(Version 2011).pdf
- 河南科技大学:信息工程学院教育技术学专业本科课程教学大纲(汇编).pdf
- 吉林大学:《人工智能》课程电子教案(PPT课件)第一章 绪论 Artificial Intelligence(AI).ppt
- 吉林大学:《人工智能》课程电子教案(PPT课件)第七章 机器学习.ppt
- 吉林大学:《人工智能》课程电子教案(PPT课件)第三章 知识与知识表示.ppt
- 吉林大学:《人工智能》课程电子教案(PPT课件)第二章 人工智能的数学基础.ppt
- 吉林大学:《人工智能》课程电子教案(PPT课件)第五章 搜索策略.ppt
- 吉林大学:《人工智能》课程电子教案(PPT课件)第八章 智能决策支持系统.ppt
- 吉林大学:《人工智能》课程电子教案(PPT课件)第六章 专家系统.ppt
- 吉林大学:《人工智能》课程电子教案(PPT课件)第四章 经典逻辑推理.ppt
- 吉林大学:《微机原理及汇编语言》课程电子教案(PPT课件)第10章 80X86的最新技术发展.ppt
- 吉林大学:《微机原理及汇编语言》课程电子教案(PPT课件)第1章 绪论(主讲人:赵宏伟).ppt
- 吉林大学:《微机原理及汇编语言》课程电子教案(PPT课件)第2章 8088指令系统.ppt
- 吉林大学:《微机原理及汇编语言》课程电子教案(PPT课件)第3章 汇编语言程序设计.ppt
- 吉林大学:《微机原理及汇编语言》课程电子教案(PPT课件)第4章 8088的总线操作和时序.ppt