A Unit Testing Framework for Aspects without Weaving (bibtex)
by Yudai Yamazaki, Kouhei Sakurai, Saeko Matsuura, Hidehiko Masuhara, Hiroaki Hashiura and Seiichi Komiya
Abstract:
Unit testing of aspects can verify aspects implementations of aspects against their specification. Current technique for unit testing of aspects requires to weave the aspect definition into a target program, which thus makes it difficult to write comprehensive test cases and to avoid interference from other aspects. In this paper, we propose a framework for unit testing aspects without weaving. Our framework generates testing methods from an aspect definition so that test cases can directly verify properties of aspects such as the advice behavior and pointcut matching.
Reference:
A Unit Testing Framework for Aspects without Weaving (Yudai Yamazaki, Kouhei Sakurai, Saeko Matsuura, Hidehiko Masuhara, Hiroaki Hashiura and Seiichi Komiya), In Proceedings of Workshop on Testing Aspect-Oriented Programs (WTAOP'05) (Roger T. Alexander, Anneliese A. Andrews, eds.), 2005.
Bibtex Entry:
@inproceedings{yamazaki2005wtaop,
  author = {Yudai Yamazaki and Kouhei Sakurai and Saeko Matsuura
		  and Hidehiko Masuhara and Hiroaki Hashiura and
		  Seiichi Komiya},
  pdf = {wtaop2005.pdf},
  title = {A Unit Testing Framework for Aspects without Weaving},
  booktitle = {Proceedings of Workshop on Testing Aspect-Oriented Programs (WTAOP'05)},
  year = 2005,
  editor = {Roger T. Alexander and Anneliese A. Andrews},
  address = {Chicago, IL},
  month = mar,
  opturl = {http://www.sic.shibaura-it.ac.jp/~m105108/aspect/WTAOP/paper.pdf},
  keywords = {AspectJ},
  abstract = {Unit testing of aspects can verify aspects implementations of aspects against their specification. Current technique for unit testing of aspects requires to weave the aspect definition into a target program, which thus makes it difficult to write comprehensive test cases and to avoid interference from other aspects. In this paper, we propose a framework for unit testing aspects without weaving. Our framework generates testing methods from an aspect definition so that test cases can directly verify properties of aspects such as the advice behavior and pointcut matching.}
}
Powered by bibtexbrowser