Browse > Article
http://dx.doi.org/10.3745/KIPSTD.2008.15-D.4.495

Regression Testing of Software Evolution by AOP  

Lee, Mi-Jin (동국대학교 대학원 컴퓨터공학과)
Choi, Eun-Man (동국대학교 컴퓨터공학과)
Abstract
Aspect Oriented Programming(AOP) is a relatively new programming paradigm and has properties that other programming paradigms don't have. This new programming paradigm provides new modularization of software systems by cross-cutting concerns. In this paper, we propose a regression test method for program evolution by AOP. By using JoinPoint, we can catch a pointcut-name which makes it possible to test the incorrect pointcut strength fault and the incorrect aspect precedence fault. Through extending proof rules to aspect, we can recognize failures to establish expected postconditions faults. We can also trace variables using set() and get() pointcut and test failures to preserve state invariant fault. Using control flow graph, we can test incorrect changes in control dependencies faults. In order to show the correctness of our proposed method, channel management system is implemented and tested by using proposed methods.
Keywords
Aspect-Oriented Programming; Regression Test; Software Evolution;
Citations & Related Records
연도 인용수 순위
  • Reference
1 Ramnivas Laddad, “AspectJ in Action: Practical Aspect-Oriented Programming”, Manning Publications, 2003
2 G. Kiczales, E. Hilsdale, J. Hugunin, M. Kersten, J. Palm, and W. Griswold, “An Overview of AspectJ,” In $15^{th}$ European Conference on Object-Oriented Programming, Budapest, Hungry, 2001
3 D. Xu, W. Xu, and K. Nygard, “A State-Based Approach to Testing Aspect-Oriented Programs,” Technical Report, Department of Computer Science North Dakota State University, September, 2004
4 D. Xu, “Test Generation from Aspect-Oriented State Models,” Technical Report, NDSU-CS-TR-05-XU02, Sept., 2005
5 H. Song, Y. Yin, S. Zheng, “Dynamic aspects weaving in service composition,” Proc. of the $6^{th}$ International Conference on Intelligent Systems Design and Applications(ISDA'06), IEEE, 2006   DOI
6 J. Zhao and M. Rinard, “System Dependence Graph Construction for Aspect-Oriented Programs,” MIT LCS Technical Report 891, March, 2003
7 Michael Mortensen and Sudipto Ghosh, James M. Bieman, “Testing During Refactoring Adding Aspects to Legacy Systems,” $17^{th}$ International Symposium on Software Reliability Engineering(ISSRE'06), 2006   DOI
8 Otavio Augusto Lazzarini Lemos and Cristina Videira Lopes “Testing Aspect-Oriented Programming Pointcut Descriptors,” International Symposium on Software Testing and Analysis Proceedings of the $2^{nd}$ workshop on Testing aspect-oriented programs, 2006   DOI
9 Reza Meimandi Parizi, Abdul Azim Ghani, “A Survey on Aspect-Oriented Testing Approaches,” $15^{th}$ International Conference on Computational Science and Applications, IEEE, 2007   DOI
10 J. Zhao, “Data-Flow-Based Unit Testing of Aspect-Oriented Programs,” In Proc. 27th Annual IEEE International Computer Software and Applications Conference(COMPSAC'2003), Dallas, Texas, December, 2003
11 J. S. Bekken, Roger T. Alexander. “A Candidate Fault Model for AspectJ Pointcuts,” $17^{th}$ International Symposium on Software Reliability Engineering (ISSRE'06), 2006   DOI
12 P. Anbalagan and T. Xie. “Efficient mutant generation for mutation testing of pointcuts in aspect-oriented programs,” In Proc. $2^{nd}$ Workshop on Mutation Analysis, November, 2006   DOI
13 N. Belblida, et. al, “AOP extension for security testing of programs,” Proc. of IEEE Canadian Conference on Electrical and Computer Engineering, Ottawa, May, 2006   DOI
14 W. Xu, D. Xu, V.Goel, and K. Nygard, “ASPECT FLOW GRAPH FOR TESTING ASPECT-ORIENTED PROGRAMS,” In Proceeding of the $8^{th}$ IASTED International Conference on Software Engineering and Applications(SEA 2004), ACTA Press, August, 2004
15 W. Xu and D.Xu, “A model-based approach to test generation for aspect-oriented programs,” AOSD 2005 Workshop on Testing Aspect-Oriented programs, Chicago, March, 2005
16 G. Xu, Z. Yang, “A novel approach to unit testing: The Aspect-Oriented way,” International Symposium on Future Software Technology 2004, Xian China, October, 2004
17 J. Bruel, et al., “Using aspects to develop built-in tests for components,” $4^{th}$ Modeling with UML workshop of 2003 UML conference, San Francisco, Oct., 2003
18 R. T. Alexander, J. M. Bieman, and A. A. Andrews. “Towards the systematic testing of aspect-oriented programs,” Technical Report, CS-4-105 Department of Computer Science, Colorado State University, March, 2004