Research on Test Case Reuse Strategy Based on Case-Based Reasoning
- Author
- ZhangGuiZuo
- Advisor
- ChenHongGang
- School
- Southwestern University
- Major
- Computer Software and Theory
- Classification
- TP311.53 Software Maintenance
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 22
- Citations
- 1
Abstract
With the rapid development of software industry, the size of software systems is expanding ceaselessly, which causes software systems to become more and more complex and makes accidents caused by software feedbacks occur frequently. Therefore, software test, as an important part of software quality assurance, attracts more and more people’s attention. As we know, the choice of test cases, the guide of test execution, is critical to software test. However, because of the differences in experiences and skills, testers sometimes select test cases blindly and the results of test are usually uncertain, which causes the failure of test eventually.Software reuse as an important technique to improve software development efficiency and software quality offers a solution to reduce the test uncertainties. Academia and some industry experts have put the concept of reuse into the practice of software requirements engineering and design engineering, and have achieved remarkable results. Applying this method to software test and making full use of the historical test cases which are accumulated in the past days to design new test cases not only can make up the deficiency of testers’experiences, but also can reduce those redundant works in designing similar test cases, which improves the test efficiency and makes test experiences be passed on. Therefore, the sharing and reuse of test cases has become a research focus of the field of software testing gradually.Test case reuse is to apply historical test cases to new test requirements in varying degrees. In this paper, we study test case reuse and some major test case reuse models first, and then we decide to choose the Case-Based Reasoning(CBR) model. However, because of the low retrieval efficiency, test case reuse status can not achieve the expected degree.As for this problem, this paper presents a classified test case reuse model based on CBR. This model uses a facet stratified method to represent test cases’characteristic properties. Then, we use nearest neighbor algorithm to calculate the similarities of target cases and the historical cases. This model supports retrieval level of single test case, test suit and test project, which allows testers to choose different retrieval sizes in accordance with the various requirements and improves the retrieval efficiency eventually.The significance of this study is having achieved the classified reuse of test cases. Practices have proved that this method does improve the test cases reuse degree, and thus shortens the software testing cycle, reduces the cost of software testing, makes up the deficiency of testers’ experiences to some extent and has practical value.
Table of contents
Summary 5-6
Abstract 6-8
Chapter 1 Introduction 8-12
1.1 Background and Significance 8 - 9
1.2 domestic and foreign research status 9-10
1.3 The main work 10
1.4 This article organizational structure 10-11
1.5 Summary 11-12
Chapter 2 Research Foundation ; 2.1 software theory test nbsp 12-32
12-17
2.1.1 software Testing definition 12-13
2.1.2 software testing classification 13-14
principle 2.1.3 software testing 14-15
2.1 ; .4 reusable software testing resources used nbsp 15-16
2.1.5 software testing uncertainties and solutions 16-17
2.2 test theory 17-20
2.2.1 test case definition 17-20
design principles 2.2.2 test case 20
2.2.3 test Case role in software testing 20
2.3 test Case reuse research 20-22
2.3.1 software reuse and reuse test cases defined 20-21
2.3.2 reusable test cases with the characteristics 21
2.3.3 test reuse advantages and difficulties 21-22
2.4 CBR theoretical studies 22-26
basic concepts 2.4.1 CBR 's basic principle 22
2.4.2 CBR 's 22-23
2.4.3 CBR key technology 23-26
2.4.4 This paper introduces the necessity nbsp CBR ; 26
2.5 related reuse strategy introduced 26-30
2.5.1 based on the test case specification reuse model 26-27
2.5.2 test cases based on hierarchical division multiplexing model 27-28
2.5.3 based CBR test case reuse model 28-30
2.6 Summary 30-32
Chapter 3 CBR test cases based on the detailed design reuse model 32 -44
3.1 CBR reuse test cases based on model design ideas 32-34
3.2 test indicates 34-39
3.2.1 test Case the basic properties of 34-35
3.2.2 test case characteristic attributes 35-39
3.3 test case storage 39-40
3.4 testing retrieval use cases 40-42
3.4.1 test the retrieval process 40-41
3.4.2 CBR module matching algorithm 41-42
3.5 test correction 42
3.6 model self-learning and maintenance 42
3.7 Summary 42-44
Chapter 4, system implementation and experimental analysis 44-48
4.1 development environment 44
4.2 system Architecture 44-45
4.3 kernel module 45-46
4.3.1 use Case retrieval 45-46
4.3.2 search results returned 46
4.4 experimental Analysis 46-47
4.5 summary 47-48
Chapter 5 summary and Outlook 48-50
5.1 herein review 48
5.2 future Work Prospects 48-50
References 50-54
Thanks 54-56
Appendix pursuing a master's degree theses published 56
Related dissertations
- Research on Virtual Supply Chain Risk Evaluation with Case-Based Reasoning
- An Improved Case-based Reasoning Approach and Its Application in Soft Measurement Modeling
- Research on Case Database Maintenance Method of Case-based Reasoning System
- Mobile Robot Path Planning Research Based on Genetic Algorithms
- E-commerce Recommendation System Based on CBR and Web Log Mining
- Bayesian Networks-CBR Hybrid Model and Application
- Research on Construction of Case Base for Grid Repair Emergency Response Facing Emergency
- Research on Engineering Cost Fuzzy Intelligent Control and Measures Reasoning
- Research on the Fault Diagnosis System for the Locomotive Based on Case-based Reasoning
- Research on Decision-making in Urban Rail Transit Energy Management Based on Case-based Reasoning
- Study and Development on Quality Problems Management System for Electrical Connector Manufacturing Process
- Information Management System Design of Automotive Disassembly and Recycling Based on Rough Set and Case-based Reasoning
- Intelligent Optimal Setting Method for Clarifying Process of Sulfitation Method Sugar Factory
- Optimization for Zinc Dust Addition in Copper Removal Process Based on CBR
- Research on Case-Based Reasoning Optimization Control of Pellets Roasting Process
- Research on Design Parameters Modeling Technology of CNC Machine Tool Scheme Design Based on Customer Requirement
- Research of Drilling Parameter Optimization and Knowledge Modeling
- The Research and Application of Manipulated Stocks’ Internet Information Features
- Research of Online Consumer Behavior Based on Case-based Reasoning
- J Company Project Management Analysis and Optimization