Designing and Researching the Method to Produce Test Case Set of k-n Software System
- Author
- ZhangDan
- Advisor
- GaoJianHua
- School
- Shanghai Normal University
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 31
- Citations
- 1
Abstract
The parameters of pair-wise testing is available in a variety of software systems , a practical and effective method of testing . Applied to software systems to generate a set of test cases : orthogonal matrix , covering matrix method AETG , IPO portfolio strategy . The paper first describes the orthogonal matrix method , the main idea of the four methods of coverage matrix method , AETG, IPO , summarize and compare their range of applications , advantages and disadvantages . Then analyzed the orthogonal matrix method and coverage matrix method for constructing a test set of process parameter combinations paired test . By analyzing the software system generates problems exist in the test set , including the unsuitability between the software system and the test set generation method , the complexity of the algorithm of constructing a test set , the test set is too large problem , the paper presents the improved method . In order to effectively solve the many problems that exist in these methods , the paper kn software system , that is, the number of parameters k and parameter values ??the number n system is divided into four categories . For n = 2 , k - 2 II value of the software system , this paper design a test set based on the the longitudinal binary string collection and control variables method generation method . N gt ; 2 , n is a prime or prime power the kn software system designed based orthogonal matrix and its derived matrix , the two useful Criterion test set covering matrix method . For the number of values ??of k parameter n different software systems , proposed an empirical algorithm . Finally, experiments verify the effectiveness of the three methods . The experiments show that the test case using these three methods are superior to the size of the collection orthogonal matrix , covering matrix method , IPO, AETG, and the adaptability of the software system and the test set generation method is also greatly improved .
Table of contents
Abstract 6-7
Abstract 7-10
first chapter 10-14
1.1 thesis background 10-11
1.2 topics sources 11-12
1.3 papers 12
1.4 papers innovations 12-13
1.5 paper structure 13-14
the adaptive Relationship between
the second chapter of the software system test set generation method 14-18
2.1 basic concepts 14-15
relations between the 2.2 software system test set generation method 15-16
adaptive principle between 2.3 software system test set generation method 16-18
Chapter orthogonal matrix test parameter combinations 18-37
3.1 orthogonal matrix definition and nature 18-20
3.1.1 orthogonal matrix defined 18-19
3.1.2 orthogonal matrix nature 19-20
3.2 related to the mathematical theory of knowledge 20-22
3.3 Galois field structure the orthogonal matrix 22-27
3.3.1 Galois field structure congruence class method 22-23
3.3.2 using the the coefficient combination method structure Galois field 23-24
3.3.3 Galois field for constructing orthogonal Latin squares examples 24-25
3.3.4 orthogonal matrix based on the Galois field test parameter combinations 25-27
3.4 use of the Adama square for constructing orthogonal matrix 27-30
3.4.1 Hadamard matrix 27-28
3.4.2 Adama phalanx 28-29
3.4.3 the orthogonal matrix based Adama square test parameter combinations 29-30
3.4.4 based on the Adama square orthogonal matrix constructor concluded 30
3.5 using orthogonal Latin squares based on the number of m-ary the structure orthogonal matrix 30-34
3.5.1 based on the number of m-ary bitwise 30-32
3.5.2 structure based on the number of m-ary orthogonal Latin squares 32
3.5.3 based on the number of m-ary orthogonal matrix test parameter combinations 32-34
3.6 the validity and limitations of the analysis of the orthogonal matrix constructed test set 34-37
3.6.1 orthogonal matrix methods in theoretical limitations of the analysis 35-36
3.6.2 orthogonal matrix methods Limitations of the application of the actual test 36
3.6.3 orthogonal matrix defined limitations analysis 36-37
The
fourth chapters covering matrix test parameter combinations 37-49
4.1 coverage matrix definition and nature 37-38
4.2 several matrix 38-40
4.3 matrix construction process and algorithm 40-45
4.3.1 covering the matrix structure process 40-43
4.3.2 covering the matrix construction algorithm 43-45
4.4 coverage matrix test parameter combinations 45-47
4.5 coverage matrix method to generate test set is expected to range 47
4.6 covering the validity of the test set of the matrix structure and uncertainty analysis 47-49
Chapter KN software system test set generation method design and research 49-56
5.1 K parameters and each parameter with two kinds of value situations (N = 2) 49-52
5.2 K parameter case with N kinds of values ??for each parameter (N> 2, N is a prime or prime power) 52-54
5.3 K parameters and the number of values ??for each parameter N different situation 54-56
Chapter experiments and analysis 56-60
adaptability corresponding rules between of 6.1 different software systems and test set generation method 56-57
6.2 software system and the interdependence between the calculation formula of the test set size are found; 57-58
6.3 experience algorithm effectiveness analysis 58-59
6.4 test parameters determine 59-60
Chapter VII Summary and Outlook 60-62
7.1 summarizes 60
7.2 Looking 60-62
Acknowledgements 62-63
the
References 63-66
studying for a degree during the research 66