Study of regression test automation test cases based on priority
- Author
- WangBo
- Advisor
- XuShiZhong
- School
- University of Electronic Science and Technology
- Major
- Communication and Information System
- Classification
- TP311.53 Software Maintenance
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 21
- Citations
- 0
Abstract
Regression Testing plays an important role in software testing. Automated regression testing can efficiently simplify the tedious process of regression testing. However, in some huge and complex software projects, regression testing can’t finish all time-consuming test cases in limited time. So it will be very low performance.Aim at how to improve automated regression testing’s efficiency, the author had firstly studied three approaches including test cases selection, minimum and prioritization, and conformed to adopt test cases prioritization method. Then the author had considered and balanced several prioritization technologies (no prioritization, random prioritization, optimal prioritization, code coverage and FEP prioritization). Finally the author had come up with test cases covering impacted functions prioritization technology (code coverage prioritization).In this thesis, Test cases prioritization involves1) source code function instrumentation:instrument into source code to get information in GCC compiling phase;2) database design, collecting test cases and function information into database;3) test cases clustering, clustering similar, relevant test cases;4) patch parsing, parsing patch to get impacted functions list;5) test cases priority selection, selecting test cases according to impacted functions.Finally, the author had implemented all of above modules correctly and applied test cases prioritization into Intel Linux Graphics’automated regression testing project.This essay gives the test results for both original and new test cases prioritization system, we can get below conclusions.1) When functions traced by less test cases are changed, new system can successfully select regression test cases with large probability (over90%);2) When functions traced by most test cases are changed, new system can select parts of regression test cases (but we can adapt some auxiliary strategies to improve this poor situation). However, from the daily testing, this new system can select regression test cases with84%probability. So we can get this new system can indeed improve automated regression testing efficiency.
Table of contents
Summary 4-5
ABSTRACT 5-8
first chapter 8-13
1.1 Background 8-10
Research Status regression test automation systems 1.1.1 8-9
1.1.2 the need to improve the efficiency of regression test automation 9-10
1.2 research content 10-11
1.3 organizational Structure paper determine nbsp 11-13
Chapter II test priority technologies ; 13-21
2.1 to improve the efficiency of regression testing the method of comparative analysis 13-15
2.2 test implementation techniques common priority comparative analysis 15-19
2.3 based code coverage in key technologies 19 - 20
2.4 Summary 20-21
Chapter III test priority technical design and implementation of 21-54
3.1 project Background 21 - 23
3.2 test cases priority needs analysis 23-24
3.3 test priority frame design 24-26
3.3.1 test the upper half nbsp priority ; 25-26
3.3.2 test priority lower half 26
3.4 source code function-level design and implementation of intrusion 26-34
introduction 3.4.1 GCC and Interaspect framework 27-30
3.4.2 source code implementation of intrusion 30-33
3.4.3 problems encountered in the process to achieve 33-34
3.5 database design and implementation 34-39
realize 3.5.1 database 35-38
3.5.2 implementation process difficulties encountered and solutions 38-39
test design and implementation nbsp 3.6 classification ; introduce 39-47
3.6.1 clustering 40 - 3.7.1 patch resolves to achieve 47-52
; 41
3.6.2 classification test design and implementation 41-47
3.7 patch resolves the design and implementation of nbsp 49-51
3.7.2 realize the difficulties encountered in the process 51-52
3.8 select the test case design and implementation of 52-53 <br / > 3.9 Chapter Summary 53-54
Chapter IV test cases and test technology priority in the project 54-64
4.1 applications in the project the test environment 54-58
4.1.1 project 54-55
4.1.2 old and new automated regression testing framework 55-58
4.2 test Plan 58-61
4.3 test execution 61-63
4.4 summary 63-64
fifth chapter summarizes 64-66
Thanks 66-67
References 67-70
CVs 70-71
studying for a master's degree to participate in research projects during 71
Related dissertations
- Research on Particle Swarm Optimization-Based Test Cases Generation and Prioritization
- Research on Activity Diagram Polymorphic Test Method with OCL Constraints
- Automatic Test Cases Generation Based on UML State Diagrams
- An Automatic Test Cases Generation Method Based on UML Activity Diagrams
- Research and Application on Mobile Entertainment Device Software Testing Technologies
- Function Test in Call Arrival Module of Call Center System
- Analysis and Design of Basic Endowment Insurance Management System for Hejiang Forest District in Heilongjiang
- Research on UML Sequence Diagrams Model Based Software Testing
- Test of Mobile Banking Service Based on Wap
- Research on Automatic Generation of Test Case Based on Model
- Design and Implementation Mobile Software Testing in the Scrum Mode of the Multi-cultural
- Research on Building of Ontology for CTCS-3Test Cases with Application
- Modeling Web Applications and Generating Test Cases Based on User-interface Specification
- Research on Test Suite Reduction and Construction
- Design and Implementation of Automated Regression Testing Tool for Huge Application Software Systems
- Automatic Regression Test System Development
- GAT Research on General Automated Test Framework
- Key Technology Research in Test Case Generation System Based on Genetic Algorithm
- Study of Component-Based Software Testing and Supporting Tool
- Software test automation technology research and analysis