Test Case Prioritization for Aspect-Oriented Software

Author
MaZengKai
Advisor
ZhaoJianJun
School
Shanghai Jiaotong University
Major
Computer Software and Theory
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2009
Downloads
96
Citations
0

Request the full text

Abstract

. In order to improve the cost-effectiveness of software test activities, the test case prioritization technique has been proposed. This kind of approach ranks test cases execution order so as to detect fault as early as possible. It is proved by empirical studies that test case prioritization provides a way to find more bugs under resource constraint condition. Because faults are revealed earlier, engineers have more time to fix these bugs and thus improve the reliability of the system quickly.Aspect-Oriented Programming (AOP) is a brand new methodology of programming. By extracting crosscutting concerns and encapsulating them into separate programming module AOP overcomes the problem of code tangling in Object-Oriented Programming (OOP). Benefits from this methodology of programming, software developers can focus on the implementation of business concerns and crosscutting concerns respectively. However, there is not a test case prioritization approach proposed for AOP. Meanwhile, the existing techniques dose not handles the features of AOP and thus cannot be applied to AO software testing. Aiming to improve the cost-effectiveness of AO software testing, in this thesis, we propose an Enhanced Call Graph (ECG) representation for AOP and an algorithm for building the ECG. Based on analysis of ECG, we present a test case prioritization approach for AOP. First, we evaluate the Testing-importance (TIM) for modules by considering from fault proneness and fault severity. And then, we get the coverage information for test cases by control flow analysis. At last, the priority of test case is determined according to the TIM value of modules covered by them. In order to verify the effect of our approach in terms of improving the rate of severe fault detection for AOP, we design and implement a tool called APROS which can be used to prioritize the test cases of AspectJ programs and the test cases of Java programs. Other than traditional prioritization technique, APROS does not rely on the data gained from test cases execution or software evolution. Therefore, APROS can be applied to both regression testing and non-regression testing. The experimental result suggests that APROS effectively improve the rate of severe faults detection and fixing those faults revealed earlier can reduce impact scope of the faults in system at a fast rate.

Table of contents

Abstract 2-4 ABSTRACT 4-8 first chapter 8-17 1.1 Background 8-10 1.1.1 test case sort Overview 8 1.1.2 Aspect-Oriented Programming Overview 8-10 1.2 topics significance 10-11 1.3 research status 11-14 1.3.1 object-oriented programming test case sequencing technology 11-13 1.3.2-oriented aspects of program control flow analysis technology 13-14 1.4 paper 14-15 1.5 papers organizational structure 15-17 test case sort index of 17-22 2.1 Overview 17 2.2 error-prone sort index 17-18 2.3 error in order of severity index 18-20 2.3.1 from the user point of view, analysis of error seriousness 18-19 2.3.2 from the system point of view, analysis of error seriousness 19-20 2.4 Summary 20-22 aspect-oriented program call graph analysis and sorting index solution 22-44 3.1 Overview 22 3.2-oriented aspects of the program module control flow analysis 22-30 3.2.1 type of statement (inter-type) the impact of the program control flow 22-24 3.2.2 notification (advice) is woven into the program control flow 24-30 3.3 aspect-oriented program test case sort index solutions 30-43 3.3.1-oriented aspects of the program call graph diagram notation 30-33 3.3.2 aspects of the program sort index-oriented solutions 33-43 3.4 of this chapter section 43-44 Design and Implementation of test case sorting tool APROS 44-52 4.1 APROS the basic framework design 44-48 4.1.2 class diagram design 46 4.1.3 sequence diagram design 46-48 4.2 module test the importance of evaluation subsystem 48-49 4.3 test case coverage analysis subsystem 49-50 4.4 test case prioritization assessment subsystems 50-51 4.5 Summary 51-52 Chapter experiment and evaluation 52-65 5.1 Overview 52 5.2 Experimental Design 52-57 5.2.1 subjects procedures introduced 52-55 5.2.2 experimental two-stage design 55-57 5.3 test cases is ranked measure 57-58 5.4 Experimental results and evaluation 58-64 5.4.1 Experimental results of the first phase of 59-60 5.4.2 the second phase of experimental results 60-61 5.4.3 Experimental results 61-64 5.5 Summary 64-65 Chapter VI, concluded 65-67 6.1 article summarizes 65-66 6.2 Research Prospects 66-67 References 67-70 during the master's degree has been published or accepted papers 70-71 thank 71-74 Shanghai Jiaotong University, the dissertation resolution book 74

Related dissertations

  1. Research on Access Control Model Based on EGR-RBAC and Spring Security Framework
    LiangFeng ·Hefei University of Technology ·2013 ·Master's thesis
  2. Research on the Spectrum-based Fault Localization for Software Systems
    GongLiang ·Tsinghua University ·2013 ·Master's thesis
  3. The Supermarket Information Management System Design and Implementation
    WangYiJun ·Shandong University ·2013 ·Master's thesis
  4. The Design of System Framework Based on Business and Data Driving
    BaoNaNa ·Dalian Maritime University ·2013 ·Master's thesis
  5. Research on Running Monitoring System of Saas Platform for Automobile Industry Chain Collaboration
    ZhengWeiNa ·Southwest Jiaotong University ·2013 ·Master's thesis
  6. Analysis and Research of Security of Campus Network Server
    ZhangChengZuo ·Hunan University ·2012 ·Master's thesis
  7. Design and Implementation of Web Servers’ Performance Tracking Framework
  8. Research on Some Key Technology of Data Mining in E-commerce
    LuoSiMao ·Nanchang University ·2013 ·Master's thesis
  9. Research and implementation of the law enforcement system of land resource based on AOP
    GongJiaYue ·Fudan University ·2011 ·Master's thesis
  10. Design and implementation of medical insurance management information system based on Spring Framework
    PeiLun ·Fudan University ·2011 ·Master's thesis
  11. Modeling and Verification of Cyber Physical Systems Based on Formal Method
    LiuQiuJin ·Guangdong University of Technology ·2012 ·Master's thesis
  12. Multi-objective Test Case Optimization Method and Its Accelerate Research on GPU
  13. The Improvement and Implementation of Test Case Prioritization in Regression Testing
    Wu ·Nanjing University ·2012 ·Master's thesis
  14. The Design and Implementation of Financial System Based on the AOP Design Pattern
    WuXiuSong ·Jilin University ·2012 ·Master's thesis
  15. A Publish/Subscribe Model for Service Dynamic Update in OSGi
    ZhaoJie ·Shanghai Ocean University, ·2012 ·Master's thesis
  16. Research on Aspect-oriented Software Modeling and Application in Software Development
    WangFei ·Xi'an University of Engineering ·2011 ·Master's thesis
  17. AOP-based Detection of Runtime Business Constraints
    LiXing ·Xi'an University of Engineering ·2011 ·Master's thesis
  18. Design and Implementation of Performance Monitoring Based on AOP
    TangYaZuo ·Huaqiao University ·2012 ·Master's thesis
  19. Design and Implementation of Liaohe Oilfield Material Management System Based on Lightweight Web
  20. Research and Application on Billing Management System for Collaborative Commerce Platform of Automobile Industry Chain
    GuoLiMing ·Southwest Jiaotong University ·2011 ·Master's thesis