The Model and Application Research of Partition Testing
- Author
- SunJiaDi
- Advisor
- ZhouKuanJiu
- School
- Dalian University of Technology
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 14
- Citations
- 0
- Software Testing
- Test cases self- generated
- restraint system
- Decision Tree Algorithms
- Iterative relaxation method
Abstract
The research is based on the national science foundation, "The measurement method and system of aerospace embedded trusted software". In order to check the errors in the software system which may be reduce the reliability, this thesis proposes a path-wise automated generation test data system.This thesis focuses mainly on the deriving and solving of system of constraints, then points on the way in how to analyse and reduce the statement and the primary obstacle in solving system of nonlinear constraint(s) among them. The progress of the studies on problem is introdueed in this thesis. The existing approaches to address this problem are classified into four categories:random, static, dynamic and heuristic. The representative methods in each category are introdueed and analyzed. The direction of researeh is also explored. Neelam Gupta et al proposed a method, which is referred to as the Iterative Relaxation Method in this thesis, to address the above problem. By means of analyzing the static and dynamic data dependencies between the statements on W, and constructing predicate slices and input dependency sets, this method linearizes the predicate funetions with linear arithmetic representations. Therefore it can only be used to generate test data for white-box testing. Neelam Gupta et al developed a constraint solving technique by using the Least Square Error Solution. As the process of sloving the problem of test data is based on the choosing of paths, this thesis proposes a decision tree algorithm called ID3 which is used to choose the inputs to get the decision tree of the given program, which we make use of computing the x. And when P executes on x, path W will be traversed.The Iterative Relaxation Method is improved in this thesis by omitting the constructions of predicate slices and input dependeney sets. Furthermore, when the divided differences are used to approximate to the derivatives that are in linear arithmetic representations, computing linear arithmetic representations is converted to compute predicate completely. The improved method is more powerful to generate test data, and can be used for black-box testing.At last, by making up the two algorithms the thesis proposes a framewoek of automated test data generation. And proves the framework is more effieient to derive nonlinear constraints.
Table of contents
Abstract 4-5
Abstract 5-8
1 Introduction 8-15
background and significance of 1.1 legislature title 8-9
research status and development prospects of the 1.2 software testing at home and abroad 9-10
1.3 topics content 10-15
1.3.1 software testing technology and process 10-11
1.3.2 software testing adequacy and problems raised 11-12
1.3.3 This paper mainly work 12-14
1.3.4 of this article organizational structure 14-15
software testing and test cases self-generation technology 15-24
2.1 software testing purposes and principles 15-18
2.1.1 software test characteristics and purpose 15-17
2.1.2 software testing classification principles 17-18
2.2 software testing 18-19
2.2.1 software testing classification process 18
2.2.2 test cases 18-19
2.3 generation method path-based test case since 19-22
2.3.1 Stochastic Method 20
2.3.2 Static method 20
2.3.3 Dynamic method 20-22
2.3.4 heuristics 22
2.4 This chapter Summary 22-24
3 testing techniques based on the division of test 24-33
3.1 decision tree generation algorithm (ID3) 24-26
3.1.1 decision tree concept 25
3.1.2 ID3 algorithm 25-26
3.2 algorithm example 26-32
3.3 This chapter Summary 32-33
4 iterative relaxation method 33-47
4.1 program control flow graph 33-36
4.2 iterative relaxation method 36-39
4.3 iterative relaxation method improved 39-41
4.4 test cases from the generation process and examples of 41-45
4.4.1 test cases self generated process 41
4.4.2 Case Study 41-45
4.5 of this chapter Summary 45-47
5 test cases from generation framework and its application 47-59
5.1 path-based test case generation framework 47-48
5.2 test cases from the generated application 48-50
5.3 Experimental 50-57
5.3.1 linear constraints of the program path 51
5.3.2 nonlinear constraint program path 51-53
5.3.3 for assertions and regression testing, test cases from the generated 53-55
5.3.4 framework with other methods of comparison 55-57
5.4 This chapter Summary 57-59
concluded 59-60
Reference 60-62
during the master's degree Post academic situation 62-63
Acknowledgements 63-65
Related dissertations
- 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
- Pretensioned Occupant Restraint System Simulation