Automated test data generation for aspect-oriented programs

Mark Harman, Fayezin Islam, Tao Xie, Stefan Wappler

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Despite the upsurge of interest in the Aspect-Oriented Programming (AOP) paradigm, there remain few results on test data generation techniques for AOP. Furthermore, there is no work on search-based optimization for test data generation, an approach that has been shown to be successful in other programming paradigms. In this paper, we introduce a search-based optimization approach to automated test data generation for structural coverage of AOP systems. We present the results of an empirical study that demonstrates the effectiveness of the approach. We also introduce a domain reduction approach for AOP testing and show that this approach not only reduces test effort, but also increases test effectiveness. This finding is significant, because similar studies for non-AOP programming paradigms show no such improvement in effectiveness, merely a reduction in effort. We also present the results of an empirical study of the reduction in test effort achieved by focusing specifically on branches inside aspects.

Original languageEnglish (US)
Title of host publicationProceedings of the 8th ACM International Conference on Aspect-Oriented Software Development, AOSD'09
Pages185-196
Number of pages12
DOIs
StatePublished - Nov 30 2009
Externally publishedYes
Event8th ACM International Conference on Aspect-Oriented Software Development, AOSD'09 - Charlottesville, VA, United States
Duration: Mar 2 2009Mar 6 2009

Publication series

NameProceedings of the 8th ACM International Conference on Aspect-Oriented Software Development, AOSD'09

Other

Other8th ACM International Conference on Aspect-Oriented Software Development, AOSD'09
CountryUnited States
CityCharlottesville, VA
Period3/2/093/6/09

Keywords

  • Aspect-oriented software development
  • Evolutionary testing
  • Search-based software engineering
  • Test data generation

ASJC Scopus subject areas

  • Computational Theory and Mathematics
  • Software

Fingerprint Dive into the research topics of 'Automated test data generation for aspect-oriented programs'. Together they form a unique fingerprint.

  • Cite this

    Harman, M., Islam, F., Xie, T., & Wappler, S. (2009). Automated test data generation for aspect-oriented programs. In Proceedings of the 8th ACM International Conference on Aspect-Oriented Software Development, AOSD'09 (pp. 185-196). (Proceedings of the 8th ACM International Conference on Aspect-Oriented Software Development, AOSD'09). https://doi.org/10.1145/1509239.1509264