Aspect-oriented Programming-based Unit Test Effectiveness Detection System
- Author
- GuoShuai
- Advisor
- WuFei
- School
- Huazhong University of Science and Technology
- Major
- Computer technology
- Classification
- TP311.53 Software Maintenance
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 2
- Citations
- 0
Abstract
With the promotion of test driven development ideology and increasing software size,The proportion of unit testing in the software development process is growing, Theeffectiveness of the unit test become an important factor in restricting software quality.The traditional unit test effectiveness detection systems using traditional programmingparadigm, cannot effectively address cross-cutting issues in software design, themodularity of cross-cutting issues is a pressing problem.After analyzed the advantages and disadvantages of the traditional unit testeffectiveness detection systems, proposed the aspect-oriented programming-based unittest effectiveness detection system. By studying the architecture and technology ofaspect-oriented language and the running mechanism of unit test, and combining thecharacteristics and future trends of unit test, designed and realized the aspect-orientedprogramming-based unit test effectiveness detection system.The system is based on the AspectJ and Java language, using aspect-orientedtechnology woven into the target running code and unit test code to run, effectivelyresolved a number of problems difficult to solve by traditional object-oriented language.Using this system can detect the effectiveness of unit test developed by Java language.Experimental results show that the system is indeed able to detect the problems of the unittest code and effectively enhance the effectiveness of unit testing. Although the systemdoes not support other languages now, but it has a certain reference of the ideology ofusing aspect weaving technology to solve the problems difficult to solve by traditionallanguage.
Table of contents
Summary 4-5
Abstract 5-8
1 Introduction 8-16
1.1 subject background 8-9 <br / > 1.2 case study abroad 9-14
1.3 The main contents 14-15
1.4 thesis structure 15-16
2 aspect Oriented Programming 16-26
2.1 aspect Oriented Programming Overview 16-17
2.2 AspectJ About 17-19
2.3 development section 19 - 21
2.4 product section 21-24
2.5 Summary 24-26
3 unit test the validity of the detection system design 26-35 <br / > 3.1 architecture design 26-29
3.2 detailed design 29-33
3.3 database table structure design 33-34
3.4 chapter Summary 34-35
4 unit test the validity of the detection system to achieve 35-44
4.1 overall structure of the code 35-38
4.2 features detailed implementation 38-43
4.3 Summary 43-44
5 system testing and analysis 44-51
5.1 test preparation 44-47
5.2 test execution 47-50
5.3 summary 50-51
6 summary and Outlook 51-53
6.1 summarizes 51-52
6.2 Prospect 52-53
Thanks 53-54
References 54-57
Related dissertations
- Aspect Oriented Programming Applied in Software Unit Testing
- Research and Implementation of RSS Reader Based on Java ME
- Design and Implementation of Uniform Interface Platform System on AOP/IoC in the Telecommunications Industry
- Design of remote meter reading system based on GPRS network
- Automatic Translation from Name-based Pointcuts to Analysis-based Pointcuts for Robust Aspects
- Research on Methods for Generating AOP Test Cases Based on Predicate Dynamic Slicing
- Code Coverage Analysis and Path Selection Technology Research and Application
- Research and Implementation of Automatic Stub Generation Technology in Unit Test
- Research on Unit Test Methods of Special Transformer Acquisition Terminal Based on Embedded Linux
- The Implementation and Optimization of DiSL Weaver
- Software Fault Localization Research Based on Program Semantics
- Research and Design of Automatic Software Fault Locatlization Technology in Unit Test
- Hybrid Mode of Data Validation
- Design and implementation of online bookstore system based on Struts Framework
- Research and Implementation of Automated Testing for Communication-based Train Control Platform
- Application Research on TDD in Improving Projects Development Based on VC
- Research on nuclear power software unit test suite reduction
- Techniques for Separation of Crosscutting Concerns
- Research on Open Temporal Logic Based Formal Verification and Modular Reasoning of Aspect-Oriented Programs
- Key Techniques of Trustworthiness Improvement on Hybird Arithmetic Addition of Floating-point Fused Multiply-add Unit