Study on Automatic Software Testing Techniques and Methods
- Author
- JinHu
- Advisor
- LiZhiShu
- School
- Sichuan University
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Doctoral dissertation
- Year
- 2006
- Downloads
- 2,142
- Citations
- 18
- Automatic Software Testing
- Automatic Test Cases Generation
- Genetic Algorithm
- Heuristic Study
- Finite state machine
Abstract
We never stop to pursue the accuracy of the software after the first computer present itself. Software testing can help us to make certain and assure the quality of the software product, and enhance the confidence of the customer to use the software. At the same time, testing is a hard and complex work. Both the time and the resource of the testing is 50% of the whole project consuming. Thus, testing research is one of the most active areas in software engineering. To improve the capability and efficiency of testing have important value for software engineering research.From 70 years last century, along with the development of software engineering, the research of the systematic testing method and technology are continual. From single defects static testing to dynamic debugging, testing has been a formal and systematic engineering behavior. All kinds of formal testify and validation technologies are used to ensure the accuracy, and the statistics method has also been used for software testing to evaluate the quality and security. Along with software system scale daily expansion, as well as application domain unceasing development, software system test also becomes even more difficult and complex, and the traditional manual test limitation is also more obvious. The software test technology research needs to have the revolutionary development. The automated software test technology has received the close attention under such background, becomes important research direction in recent software testing.Test automation method can overcome many problems in the traditional test technology. What the automated test rely on is a set of integrity, strict test principle and appraisal standard, has the integrity test process. Therefore, it may avoid the test oversight caused by the tester inertia thought, also may reduce human error caused by the boring repetition manually tests. At the same time, the test automation has strictly controlled test steps, easy to realize tracing of error message and the scenario reappearance, and the automated test brings highly effective can give the test analyst enormous convenience. Therefore, the test automation technology has become the important research on increasing test efficiency and assurance of test validity.According to CMM model there was a TMM testing model in Software Testing. Along with the development of automation test, automated testing levels have been realized according to each TMM testing level. Automation test configuration tools, automated test method have been used in the life cycle of the software, enormously enhanced the efficiency, saved testing manpower, and greatly reduced test period. Now, the coalescent of automated test technology fundamental research and the engineering application, has the strong development tendency and the extremely valuable practical significance.The main innovation research results and the contribution from this article are as follows:(1) Proposed automation integrated test framework model oriented the program structure. In the practical software engineering application, as each software test has its own pertinence, it will be very difficulty to form a unified standard for all kinds of test activity. To satisfy the specific test object, we may need to effectively organize many kinds of test activity. All above made the design and realization of this test model become very hard. This automated frame model can be treated as a container to organize and related to each test activity. A well designed test frame model can provide the support to the test activity, and have a better extensibility and compatibility, also this model can adapt to different request of different test object to exert the character and performance of each test activity. The model provided by this dessertation is an automated test model which oriented C and focus on the software structure. Considering the dynamic test strategy, this model has strong adaptability. At the same time this model try to provide the support and realization to many test activity, and can especially supporting for the automation test case generating.(2) Designing a few test cases automated generating methods and technologies according to the different testing strategies. The automation test case building methodology lucubrates. Inside the research of test technology, test cases are the fundamental of a dynamic test, and choose of test case related to the entire test effect, as a result how to chose test cases have been an important research content. At the other hand, during the dynamic testing, test procedure takes test cases as the start point, so the automation test cases generation will directly related to the evaluation of the whole automated test result. This research realized the automated test building technology using the specification rules and decision table technique. In this paper, to ensure the sufficiency and completeness of the functional test, we are using the test condition decision table to resolve the lack of certainly and recognized test standard of the sufficiency.(3) Designing and building the test cases automated generation methods from white-box side. Evolution Computation and Genetic Algorithm have been used in the automated test case generation; it is an object oriented automation testing. To generating test cases that can cover the entire program control path, refer to the static control path, use GA to induct the automatic generation test cases, proved the equivalence partition to the path of the test cases space can be realized. This paper designed fitness function for GA, it can be used to reduce the building of redundant test cases and encourage of generating test cases that could be hard to get.(4) In the white box testing, study the heuristic learning algorithm to direct the automation test of the program statement coverage. This research applied the heuristic learning algorithm of artificial intelligence into the procedure of automation testing; and implemented proper algorithm to induce the automatic resoluting procedure. To detect the code that could not be covered during running time, needs to analysize the dynamic running path. If the reachability of program statement can be expressed as the Constraint Satisfaction Problems about the program branch conditions, then automated test procedure is the automated path resolution of CSP. In this part, the automated path resolution has been designed as a revised Forward Checking algorithm. This new algorithm integrated the boundary test data choose method and breadth first binary searching technique, can complete the search of real number domain and accelerate the resolving procedure.(5) Using finite states machine method in the automated test model. The finite states manchine is the formalized method, may provide the different rank confirmation for the software testing. For testing network protocol security, proposing the whole-process based method for connection monitor and check to improve the secuirity of system, it is one kind of concrete validation model. In the realization of automation testing process, the FSM canbe used in establishing of higher level abstract confirmation model. The research indicated that, the FSM can provide the different level support to the automated test validation.
Table of contents
Abstract English Abstract 2-6
6-10
English vocabulary table 10-12
List of charts and 12-17
Chapter Introduction 17-30
1.1 Background 17-20
1.2 software testing technology 20-28
1.2. the goal of a software testing 20-22
1.2.2 software testing methods 22-23
1.2.3 software testing strategy 23-26
1.2.4 manual testing 26-27
1.2.5 in the traditional software testing problems 27-28
130 papers, organizational structure and main contents 28 -30
automated software testing technology 30-38
2.1 automated software testing technology development and characteristics of 30-32
2.2 software automated testing technology research 32-36
factor of 2.3 the impact of software testing technology 36-37
2.4 Summary 37-38
Chapter III C- ATFM automatic test model 38-59
3.1 automated test framework model 38-41
3.1.1 automated testing framework model of the design principles 38-39
3.1.2 of the function-oriented automated test framework model 39-40
3.1.3 program structure-oriented automated test framework for model 40-41
3.2 Structured The main program to test technology 41-47
3.2.1 the basic concepts 41-43
3.2.2 program and control flow graph conversion 43-45 < br /> 3.2.3 test indicators 45-47
a holistic view of 3.3 the C-ATFM 47-51
3.4 test probe design 51-53
3.5 automated test execution 53-54
3.6 test 54-58
3.7 Summary 58-59
Chapter based on Automated Test Case Generation of rules automatically generate test cases described in 59-71
4.1 test cases of the basic concepts 60-61
4.2 formal rules based on the Program Description 61-68
4.2.1 Formal Rule Description 62-64
4.2.2 Decision table technology used to test the adequacy of the judgment 64-68 <br / 4.3 Analysis of experimental data 68-70
4.4 Summary 70-71
Chapter Genetic Algorithm Automated Test Case Generation technology 71-87 <br / > 5.1 evolutionary computation and genetic algorithms 71-74
5.1.1 diverse evolutionary strategy 72
5.1.2 standard genetic algorithm 72-74
5.2 using a genetic algorithm test cases automatically generated 74-83
5.2.1 Genetic Algorithm path divided 74-81
5.2.2 test case error detection capability 81-83
5.3 testing and analysis 83-86
5.4 Summary 86-87
Chapter VI heuristic learning automatic test program instruction reachability 87-99
6.1 constraint satisfaction problems 87-88
6.2 instructions reachability test and the path to the CSP 88-90
6.3 automatic solution path CSP problem 90-97
6.3.1 before the detection technology of Forward Checking; 90-91
6.3.2 improve the R_BinSearchFC algorithm 91-95
6.3.3 Test results 95-97
6.4 Summary 97-99
Chapter VII of the automated safety tests 99-113
7.1 TCP to achieve finite state machine model 99-100
7.2 TCP connection security status 100-105
7.3 TCP server-side security path calculation 105 - 108
7.4 the TCP security state test model 108-110
7.5 TCP security status of test software design 110-111
7.6 testing and results analysis 111 -112
7.7 Summary 112-113
Chapter VIII of the automated testing prediction 113-123
8.1 test predict the description 114-117 < br /> 8.1.1 embedded assertion languages ?? 114-115
8.1.2 External Interface Specification 115-117
8.1.3 Rule Description Language 117
forecast of 8.2 automated test process 117
8.3 Finite Automata test predict 117-122
8.4 Summary 122-123
Chapter IX of the reliability of the automatic test analysis 123-129
9.1 software reliability metrics benchmark 123-125
9.2 multi-dimensional geometric distribution model (HGDM) 125-126
9.3 automated test process reliability assessment 126-128
9.4 Summary 128-129
Chapter conclusions 129-141
of period scientific research About 141-143
thank 143
Related dissertations
- Research on the Investment Decision of Chinese Financial Market Based on Chaos Theory
- Research of Short Selling Trading Strategies Based on Copula Theory
- Modeling and Optimization Method Research of Bundle-size Pricing for Online Content
- Study on Partner Selection and Coordination Problem in Green Supply Chain Network
- Research on the Model of Joint Managed Inventory Based on Genetic Algorithm with the OEM Enterprise
- Study on Measurement of Aviation High-tech Enterprises Versatile Personnel Competency Position Fit
- A Study on China’s Commercial Bank Assets Allocation Based on the Stochastic Programming Model
- Design of Arbitrage Strategy Based on Stock Index Futures
- Research on Optimization for Reconfigurable Facilities Layout of Cellular Production
- A Study of Early Warning System of New Media Events Based on New Genetic Algorithm
- Bridge Health Monitoring System Based on Damage Analysis
- Research of Control System and Scheduling Algorithm of Intensive Automatic Shelves
- Research on Industrial Time Delay Object Based on Model Prediction Control
- Study on Nonlinear Dynamic Modeling Measurement and Control Problems for Precision Pointing Mechanisms
- Research and Design of Intelligent Prosthetic Knee Ankle Coordinated Control System
- Research on Intelligent Air Combat Decision Making System Based on Conflict Analysis
- Research of Hart Multiplexer and Its Software Design
- Design and Simulation of Fractional Order Controller
- Gait and Route Plan of Quadruped Robot
- A Structural Optimization of Spraying Robot Based on the Deformation Errors Control