Design and Implementation of Testing Aspects Interaction Tool for Aspect-Oriented Programs

Author
ZhuangXuJie
Advisor
ZhaoJianJun
School
Shanghai Jiaotong University
Major
Applied Computer Technology
Classification
TP311.11 Programming method
Degree
Master's thesis
Year
2007
Downloads
64
Citations
0

Request the full text

Abstract

Over the years, the object-oriented programming (Object-Oriented Programming, OOP) programming paradigm as the field of software development, greatly improve the modularity of the software code, reusability, reduce the complexity of the software as well as software maintenance costs. However, with the continuous development of object-oriented programming, it brings the code dispersed (code scattering) and the code entanglement (code tangling) is also growing. Aspect-oriented programming (Aspect-Oriented Programming, AOP) is a new programming paradigm based on object-oriented programming. It can be a good solution to code scattering and code tangling problem, the system is easy to design and extended. Aspect-oriented software development (Aspect-Oriented Software Development, AOSD) separation of the core concerns and crosscutting concerns, the core concern remains the object-oriented approach to solve the crosscutting concerns with aspect-oriented solutions. improve the quality and efficiency of the code development as well as modular, reusable, and scalable. The AOSD Is software development direction of the future. However, AOP package special structure crosscutting concerns with object-oriented programming is very different, which brought great difficulties for the testing of AOP program. The same time, many of the test object-oriented programming tools are no longer suitable for aspect-oriented program With the extensive application of AOP and practice of software engineering practices have an urgent need for an AOP technology corresponding program testing tool integration and regression testing to support aspect-oriented program. Based on the above requirements, developed through analysis of the special structure of AspectJ programs, weaving rules and characteristics of the bytecode for the interaction between the testing tool. Aspects of the interaction between the test as the core of the aspect-oriented integration and regression testing, epitomized the characteristics of aspect-oriented programming, refactoring aspect-oriented programs, testing, and aspect-oriented software development has an important significance to the development. At home and abroad on the field of aspect-oriented test is still relatively small, and research also focused unit test aspects of the interaction between the test. Based on aspect-oriented language features, aspects of interaction error model and AspectJ bytecode analysis based on developed testing aspect-oriented interactive tools Aspat. The subject of study for the first time provided details on the aspects of interaction concept and development Aspat tools, and special interactive error model characteristics and aspect-oriented program language elements interact with specific solutions for aspect-oriented program. Testers can interface using Aspat provided to write test cases to automate integration testing and regression testing aspect-oriented programs may be some aspects of interaction errors detected, good aspect-oriented program correctness and robustness. At the same time, it has a good performance in terms of validity, applicability and performance.

Table of contents

Abstract 4-6 ABSTRACT 6-11 first chapter 11-22 1.1 Background 11-16 < br /> 1.1.1 aspect-Oriented programming Overview 11-14 1.1.2 aspects of interaction overview 14-15 1.1.3 aspect-oriented program testing 15-16 1.2 research significance 16-19 1.2.1 interactive testing aspect-oriented procedural necessity 16-17 1.2.2 for aspects of procedural aspects of interactive test specificity 17-19 1.3 research status 19-20 1.4 papers basic ideas and results 20 1.5 thesis organization 20-22 Chapter aspect of interaction fault model 22-30 2.1 Overview 22 2.2 between areas Violation error model 22-24 2.3 priority areas error between model 24-26 2.4 summarizes aspects of interactive features 26-27 <br / > 2.5 aspects of interaction fault model 27-28 2.6 Chapter Summary 28-30 Chapter aspect-oriented program language and Solutions analysis 30 - 36 3.1 Overview 30 3.2 AspectJ language characteristic analysis 30-31 3.3 AspectJ language elements 31-34 3.3.1 Overview 31 3.3.2 Pointcut language element analysis 31-33 3.3.3 Advice language element analysis 33 3.3.4 Static crosscutting language Elemental analysis 33-34 3.4 solutions analysis 34-35 3.5 Summary 35-36 Chapter aspect-oriented procedural aspects of interaction design and implementation tools Aspat 36-48 4.1 Overview 36 4.2 BCEL introduction 36-38 4.3 Aspat framework 38 -44 4.4 main package interface 44-46 4.5 write test cases 46-47 4.6 chapter Summary 47-48 Chapter experimental evaluation 48-56 5.1 Overview 48 5.2 experiments and conclusions 48-54 5.2.1 validation 48-50 5.2.2 suitability tests 50 5.2.3 AspectJ benchmark test 50-54 5.3 chapter Summary 54 -56 CHAPTER experience 56-60 6.1 experience 56-58 6.2 example 58-59 6.3 Summary 59-60 Chapter VII summarizes 60-62 7.1 main contribution of this paper 60 7.2 research Prospects 60-62 <br / > References 62-66 Appendix 66-76 Appendix 1: the second step of the validation test 66-69 Appendix 2: AspectJ benchmark results 69-76 Thanks 76-77 papers published during the master's degree case 77

Related dissertations

  1. Study and Implementation of Pipa and Its Runtime Assertion Checking Compiler
    WangDai ·Shanghai Jiaotong University ·2008 ·Master's thesis
  2. Static Construction of Control Flow Graph for Aspect-Oriented Programs
    FengBin ·Shanghai Jiaotong University ·2007 ·Master's thesis
  3. Research on Monitoring Software Properties Based on AOP
  4. Research on Aspect-Oriented Refactoring
    HanFanYu ·Hebei University of Engineering ·2008 ·Master's thesis
  5. AOP Implementation Research and Its Application for a Bank System
    LiangWenZheng ·Harbin Institute of Technology ·2010 ·Master's thesis
  6. Research on the Impact of Human Resource Management on Employees Performance
  7. Kinematic Calibration of a2-DOF ParallelManipulator
    ZhangJiFeng ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  8. Study on the calibration of robot kinematic parameters based on point constraint
  9. Design and Implementation of Automated Test Case Generator
  10. Design and Implementation of Electricity Management System in Dongying Estuary Area Power Supply Company
  11. Design and Implementation of Uniform Interface Platform System on AOP/IoC in the Telecommunications Industry
  12. Research and Implementation of Automated Testing Platform Based on Andorid
  13. The Research and Design of Software Component Testing Framework Based on Date-driver
    PengShunShun ·Shenyang Normal ·2014 ·Master's thesis
  14. Strapdown Inertial Measurement Unit for Parameters Identification and Verification
    JiaoBin ·Harbin Engineering University ·2013 ·Master's thesis
  15. Program Design and Realization of Multi-function SINS Simulation Platform
  16. Technology Discussion of TD-LTE SAE
    LiDongHua ·South China University of Technology ·2013 ·Master's thesis
  17. Research and Realization of Interoperability Test Testing Based on TTCN
    XuQinDong ·Chinese Geology University (Beijing) ·2014 ·Master's thesis
  18. The Study on the Expansion of Judgment of Test Case
  19. Route Control Process Oriented Highly Efficient Testing Method of Railway Signal Interlocking Software
    ShiYanMin ·Beijing Jiaotong University ·2014 ·Master's thesis
  20. Scenario-based Test Cases Generation for Onboard Subsystem
    ZhaoWeiHui ·Beijing Jiaotong University ·2014 ·Master's thesis