skip to main content
10.1145/1229384.1229389acmotherconferencesArticle/Chapter ViewAbstractPublication PagesmodularityConference Proceedingsconference-collections
Article

Testing aspect-oriented programs as object-oriented programs

Published: 12 March 2007 Publication History

Abstract

Along with the evolution of the technique and use of aspect-oriented programming (AOP), the difficulty of testing the aspect-oriented programs is now receiving much attention. Besides lots of methods of testing AOP, testing the woven source code seems to be a feasible way. In this paper we discuss the feasibility of this method and propose an OOP testing method with case study for AspectJ programs in which the decompiled woven code is tested.

References

[1]
Alexander, R. T., Bieman, J. M., Andrews, A. A., Towards the systematic testing of aspect-oriented programs. Technical Report CS-4-105, Colorado State University, Fort Collins, Colorado, 2004.
[2]
Balzarotti, D., Castaldo, A., Monga, M., Slicing AspectJ Woven Code. FOAL 2005, Chicago, Michigan USA.
[3]
Ceccato, M., Tonella, P., Ricca, F., Is AOP code easier or harder to test than OOP code?. In On-line Proceedings of the First Workshop on Testing Aspect-Oriented Programs (WTAOP 2005), Chicago, Illinois, 2005.
[4]
CodePro, http://www.instantiations.com/codepro/index.html. November 2006.
[5]
JODE, http://jode.sourceforge.net/. November, 2006.
[6]
JUnit, http://www.junit.org/index.htm. November 2006.
[7]
Xie, T., Zhao, J., Marinov, D., Notkin, D., Automated test generation for AspectJ programs. AOSD 2005 Workshop on Testing Aspect-Oriented Programs, Chicago, 2005.
[8]
Xu, D., Xu, W., State-Based Incremental Testing of Aspect-Oriented Programs. AOSD'06, March 20--24, 2006 Bonn, Germany.
[9]
Zhao, J., Data-flow-based unit testing of aspect-oriented programs. In Proc. of the 27th Annual IEEE International Computer Software and Applications Conference (COMPSAC'03), pp.188--197, 2003.
[10]
Zhou, Y., Richardson, D., Ziv, H., Towards a practical approach to test aspect-oriented software, In Proc. of the 2004 Workshop on Testing Component-Based Systems (TECOS), Sept. 2004.

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Other conferences
WTAOP '07: Proceedings of the 3rd workshop on Testing aspect-oriented programs
March 2007
31 pages
ISBN:9781595936639
DOI:10.1145/1229384
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

In-Cooperation

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 12 March 2007

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. AspectJ
  2. CodePro
  3. Eclipse
  4. JODE
  5. JUnit
  6. aspect-oriented programming
  7. bytecode
  8. decompilation
  9. testing
  10. weaver
  11. woven code

Qualifiers

  • Article

Conference

AOSD07
AOSD07: 6th International Conference on Aspect-Oriented Software Development
March 12 - 13, 2007
British Columbia, Vancouver, Canada

Acceptance Rates

WTAOP '07 Paper Acceptance Rate 5 of 6 submissions, 83%;
Overall Acceptance Rate 5 of 6 submissions, 83%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 23 Dec 2024

Other Metrics

Citations

Cited By

View all

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media