The Researches of Two-phase Test Suite Reduction Based on Requirement Anlysis
- Author
- XieJingWei
- Advisor
- WuZuo
- School
- Hunan University
- Major
- Computer Science and Technology
- Classification
- TP311.53 Software Maintenance
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 18
- Citations
- 0
Abstract
With the rapid development of software technology and widespread popularityof software application, users proposes deeper requirements for software reliabilityand safety.Software testing is a necessary process and procedures to ensure thesecurity and the correctness of software. But as the scale and the complicationincreasing more and more, the structure complexity of the software of unceasingenhancement, the consumption of software testing grows inevitably. So, research ontesting process optimization is an important way to reduce workload and the cost intesting process.The number of test cases influts testing workload directly. On the one side,execution time increases as the growth of the test case set. On the other side, thenumber of little cannot the test completeness cann’t be guaranteed without enoughcases. The object of test cases set reduction is to find a subset of the original cases set,which has the least number of cases, also the same coverage and ability to find errors.This paper presents a two-phase approach based on requirement alysis, which containsdemand slicing and cases set optimizing. As fowllows:First phase, presents a slicing algorithm to structured program, which accordingto formalized description of demand. The mehod dosen’t have to establish proceduredependence graph, but base dependence table (BDT) and function dependence table(FDT). This program begins at the the final executive statements, then, move backuntil the initialization position of requirement, at last, judge the interrelationsbetween requirement slices. Experimental results show that our algorithm is lesscomplex, compared with similar synchronous dynamic slicing algorithm, but hassimilar accuracy.Second phase, public path reduction algorithm is (PPR) is shown at first, whichis is based on DDGRAPH, and used for dealing with the result of the last phase. Oncethe the minimalist path been got, it can be criteria to deside wheather a case cover thewhole path. By this way, the complexity is reduced. At last, requirement-caseadjusting algorithm is present, by which the final result of cases set is got. Experimentshows that effect is better than G and GRE, based on greedy algorithm.
Table of contents
Summary 5-6
Abstract 6-9
illustrations index 9-10
Schedule Index 10-11 <br / > Chapter 1 Introduction 11-15
1.1 test suite optimization of the background and significance of research status 11-12
1.2 test suite optimization 12 research -13
1.3 herein and the main work 13-14
1.4 thesis structure 14-15 <br Chapter 2 Overview of test case design /> 15-27
2.1 the main test method 15-16
2.2 test case design method 16-26
2.2.1 equivalence partitioning 16-17
2.2.2 boundary value analysis 17
2.2.3 causal map 17-18
2.2.4 exploratory approach 18
2.2.5 statistical tests 18-19
2.2.6 control flow test 19-21
2.2.7 flow -based control design methods use cases 21
2.2.8 data Flow Testing 21-22
2.2.9 process variation 22-23
2.2.10 field test 23
2.2.11 symbol Test 23-25 ??
2.2.12 program Cartridge 25-26
2.3 Summary 26-27
Chapter 3 program slicing and test set optimization algorithms 27-37
3.1 program Slicing 27-32
3.1.1 development program slicing Overview 27-28
3.1.2 program slicing related definitions 28
3.1.3 program slicing sequence classification 28-31
3.1.4 program slicing in software testing application 31-32
3.2 use cases set optimization algorithm 32-35
3.2.1 greedy algorithm 32-33
3.2.2 HGS algorithm 33-34
3.2.3 GE algorithm 34
3.2.4 GRE algorithm 34-35
3.2.5 integer Programming 35
3.3 Summary 35-37
Chapter 4 needs slicing algorithm and needs - use cases adjustment algorithm 37-56
4.1 definitions and theorems 37 - 39
4.2 Requirements slicing algorithm 39-47
4.2.1 Requirements slicing algorithm 39-46
4.2.2 experiments and analysis 46-47
4.3 solving path approximately minus nbsp 47
4.4 test suite ; 47-54
4.4.1 DDGRAPH definition and nature 48 <br / > 4.4.2 path reduction algorithm PPR 48
4.4.3 Case Study 48-49
4.4.4 Requirements - optimization algorithms use cases 49-50
4.4.5 experimental 50-54
4.5 Summary 54-56
conclusion 56-58
References 58 -61
Thanks 61-62
published in Appendix a master's degree during the academic catalog 62-63
B Appendix four core algorithm pseudo-code Description 63-67
Related dissertations
- Research on Dynamic Monitor System Based on the Source Code of Java
- And the realization of software testing reuse management subsystem design
- Research on Testing Approach for Aspect-Oriented Programs Based on Control Flow and Data Flow
- Research on software testing technology based on complex network theory
- Design and Implementation of Automated Testing Integrated Platform of Rail-transit Signal System
- The Research and Implementation of Web Performance Testing Technology Based on Loadrunner
- Research of Software Testing Method Based on Cloud Computing
- Research on Path-oriented Test Data Generation
- Research on Process Improvement in Y Co. Based on CMM
- Method Research and System Development of Software Automatic Testing
- Research and implementation of TaaS test management services
- The Design and Implementation of Banking Software Testing Based on Bugfree
- Automatic Generation of Test Data Based on Heuristic Search Algorithm
- Research on Combinatorial Testing Technique and Its Application
- Theories and Methods of Evolutionary Generation of Test Data for Path Coverage
- Study and Practice of Independent Software Testing and Validation Based on RTCA DO-178B
- A Study to Improve CFL Based on TheDiscovery of Coincidental Correctness Test Cases
- Software Reliability Oriented Performance Test Model Research and Application
- The Study and Realization of the Android Tablet Stability Automated Test
- Research on Testing Technology of Video Codec