|
ABSTRACT
Pointcut Descriptors (PCDs) are used to specify sets of program join points with a common property where additional behavior should be applied. If PCDs are wrongly formulated, faults are injected into the program, because additional behavior will be applied to unintended join points or will fail to be applied to intended join points. In this paper we classify the types of faults that can occur in PCDs -- in terms of selected join points -- and present a two-step strategy to: 1) help the tester identifying extra join points selected by PCDs; and 2) help the tester identifying neglected join points that should be selected by PCDs in the first place. We focus on the first step but provide motivating examples and directions for both.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
R. T. Alexander, J. M. Bieman, and A. A. Andrews. Towards the systematic testing of aspect-oriented programs. Technical report, Department of Computer Science, Colorado State University, 2004.
|
| |
2
|
R. A. DeMillo. Hints on test data selection: Help for the practicing programmer. IEEE Computer, 11(4):34--43, 1978.
|
| |
3
|
Gregor Kiczales , Erik Hilsdale , Jim Hugunin , Mik Kersten , Jeffrey Palm , William G. Griswold, An Overview of AspectJ, Proceedings of the 15th European Conference on Object-Oriented Programming, p.327-353, June 18-22, 2001
|
| |
4
|
G. Kiczales, J. Irwin, J. Lamping, J.-M. Loingtier, C. Lopes, C. Maeda, and A. Menhdhekar. Aspect-oriented programming. In M. Akşit and S. Matsuoka, editors, Proceedings of the European Conference on Object-Oriented Programming, volume 1241, pages 220--242, Berlin, Heidelberg, and New York, 1997. Springer-Verlag.
|
 |
5
|
|
| |
6
|
O. A. L. Lemos, J. C. Maldonado, and P. C. Masiero. Structural unit testing of AspectJ programs. In Proceedings of the 1stWorkshop on Testing Aspect Oriented Programs (WTAOP 2005) -- in conjunction with AOSD'2005, Chicago/IL, USA, 2005.
|
| |
7
|
M. Mortensen and R. T. Alexander. An approach for adequate testing of AspectJ programs. In Proceedings of the 1stWorkshop on Testing Aspect Oriented Programs -- in conjunction with AOSD'2005, Chicago/IL, USA, 2005.
|
| |
8
|
|
| |
9
|
Object Mentor, Inc. JUnit, Testing Resources for Extreme Programming. Online, 2004. available at http://www.junit.org - last access: 03/25/2006.
|
 |
10
|
|
 |
11
|
Kevin Sullivan , William G. Griswold , Yuanyuan Song , Yuanfang Cai , Macneil Shonle , Nishit Tewari , Hridesh Rajan, Information hiding interfaces for aspect-oriented design, Proceedings of the 10th European software engineering conference held jointly with 13th ACM SIGSOFT international symposium on Foundations of software engineering, September 05-09, 2005, Lisbon, Portugal
|
| |
12
|
The AspectJ Team. The AspectJ programming guide. Online, 2003. available at http://www.eclipse.org/aspectj/doc/released/progguide/index.html - last access: 03/25/2006.
|
| |
13
|
|
 |
14
|
|
|