Statistical Software Testing Based on Markov Chain Usage Models
- Author
- FanWei
- Advisor
- WangZhiJian
- School
- Hohai University
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 451
- Citations
- 6
Abstract
Statistical software testing based on a Markov chain model builds at first the Markov chain usage model which describes usage profiles of software and then generates test cases from the usage model, applies them to the software, finally estimates the reliability and quality of the software according to statistical models. The Markov chain usage model presents the profile of actual or anticipated use of software with a stochastic model. Some model statistics analysis can aid in test planning and model verification. The usage model allows software testers to generate automatically or manually test sequences using some statistical testing tools. The problem is how to construct the Markov chain usage model for the statistical testing. In practice, the assignment, verification and optimization of transition probabilities of the usage model can be very difficult. In this thesis, we analyze various methods existing for establishing automatically transition probabilities of usage models, and propose new methods. The content of this thesis could be included in these areas:1. Have an overall summarization the of research actuality. Introduce the main methods of software testing. Discuss the difficulties of the construction of the Markov chain usage model in statistical software testing.2. Analyze the importance of Markov chain usage model for the test planning. Discuss the construction and representation of the Markov chain usage model. Analyze the statistics of usage model and its senses for test planning, study the generation of test cases from the Markov chain usage model.3. Analyze various methods existing for establishing and optimization automatically transition probabilities of Markov chain usage models. Improve the method of S. A. Sherer. The improved method uses the values of failure loss, generates automatically transition probabilities subject to transition probabilities constrains by decreasing failure loss. Propose a new method to generate automatically transition probabilities of usage models subject to transition probabilities constrains by minimizing the complexity of the Markov chain usage model.4. Develop a statistical testing tool based on C. It supports model files of format TML reading, statistics analysis, test cases generation. It also supports generations of transition probabilities of usage models subject to transition probabilities constrains by decreasing failure loss or by minimizing the complexity of the Markov chain usage model.
Table of contents
Abstract 5-6
Abstract 6-9
first chapter 9-18
1.1 Background 9-14
1.1.1 software testing technology 9-10
1.1.2 software testing methods 10-14
1.2 Research and progress 14-16
1.2.1 lack of model testing based on Markov chain 14
1.2.2 use of Markov chain model transition probability is automatically generated Profile 14-15
1.2.3 Statistical testing tools introduced 15-16
1.3 thesis research content and its significance 16-17
1.4 paper structure 17-18
use of the Markov chain model and its analysis 18-39
2.1 Markov chain model building 18-22
2.1.1 Markov chain 18-19
2.1.2 Markov chain usage model composed 19-21
2.1.3 Markov chain model building process 21-22
2.2 model indicates 22-24
2.3 Markov chain usage model parameter analysis 24-34
2.4 test coverage analysis 34-36
2.4.1 model state coverage analysis 34
2.4.2 model edge coverage analysis 34-35
2.4.3 model path coverage and complexity analysis 35-36
2.5 test cases generated 36-38
2.6 This chapter Summary 38-39
Chapter III model transition probability of automatically generated 39-66
3.1 model transition probability automatically generated 39-40
3.2 model transfer probability feasibility of automatically generated 40
3.3 use model transition probability Automatic Generation Method 40-43
the
GH Walton 3.3.1, JH Poore proposed method 41
3.3.2 Glenn S. Semmel, Darrell G. Linton proposed method 41-42
3.3.3 SASherer 42-43
the
constraints of the model 3.4 In this paper, 43-44
3.5 improved to reduce software failure loss the transition probability optimization method of generating 44-59
3.5.1 improved method of thinking 44-45
3.5.2 improved method of implementation steps 45-49
3.5.3 improved method of the test and the results 49-58
3.5.4 Improved Method, and SASherer method comparison 58-59
3.6 This paper presents minimize the complexity of model transition probability generate 59-65
3.6.1 minimize the complexity of the model transition probability method of generating the ideas 59-61
3.6.2 minimization model complexity transfer the probability generation method implementation steps 61
3.6.3 minimize the complexity of model transfer the probability test generation method and results 61-65
3.7 Chapter Summary 65-66
Chapter prototype testing tools 66-76
4.1 test tool works 66-68
4.2 model import and model transfer matrix generation module automatically 68-70
4.3 model parameter analysis module 70-72
4.4 test case generation module 72-75
4.5 of this chapter Summary 75-76
Chapter Summary and Outlook 76-78
5.1 This article summarizes 76
5.2 further research 76-78
the
References 78-81
Acknowledgements 81
Related dissertations
- Research on UML-Based Statistical Software Testing
- Research on Analysis and Testing Techniques of Object-Oriented Programs
- Research and Implementation on Software Testing with Statistical Method
- Study on the ECFA’s Influence on East Asian Trade in Goods
- Research on Inventory Strategy Considering Customers Demand Transfer and Inventory Transshipment in Dual Channel Supply Chain
- Statistical Theory of Quantitative
- Analytic form and Inequalities for Ruin Probabilities
- The Research on Changing Tendency of the Listed Company’s Financial Status on the Basis of Markov Chain Model
- Research on the Fluctuating Cycles and Influential Factors of A-share Market
- Research on the Detection Methods of Gross Errors for Process Data
- Analysis and control of stochastic switch based network control system
- Research on Filtering and Control for Networked Discrete-time Systems Based on Markov Chain
- Research on Markov Chain-based Terrain Recognition
- Theory of Iterative Learning Control and Its Applica-tion on Networked Control Systems
- The Design and Implementation of Microblog Data Analysis and Visualization Display System in Shandong Province
- 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