メインナビゲーションにスキップ 検索にスキップ メインコンテンツにスキップ

A framework and tool supports for generating test inputs of AspectJ programs

研究成果: 書籍/レポート タイプへの寄稿会議への寄与

抄録

Aspect-oriented software development is gaining popularity with the wider adoption of languages such as AspectJ To reduce the manual effort of testing aspects in AspectJ programs, we have developed a framework, called Aspectra, that automates generation of test inputs for testing aspectual behavior, i.e., the behavior implemented in pieces of advice or intertype methods defined in aspects. To test aspects, developers construct base classes into which the aspects are woven to form woven classes. Our approach leverages existing test-generation tools to generate test inputs for the woven classes; these test inputs indirectly exercise the aspects. To enable aspects to be exercised during test generation, Aspectra automatically synthesizes appropriate wrapper classes for woven classes. To assess the quality of the generated tests, Aspectra defines and measures aspectual branch coverage (branch coverage within aspects). To provide guidance for developers to improve test coverage, Aspectra also defines interaction coverage. We have developed tools for automating Aspectra's wrapper synthesis and coverage measurement, and applied them on testing 12 subjects taken from a variety of sources. Our experience has shown that Aspectra effectively provides tool supports in enabling existing test-generation tools to generate test inputs for improving aspectual branch coverage.

本文言語英語
ホスト出版物のタイトルProceedings of the 5th International Conference on Aspect-oriented Software Development 2006, AOSD'06
ページ190-201
ページ数12
DOI
出版ステータス出版済み - 2006
外部発表はい
イベント5th International Conference on Aspect-oriented Software Development 2006, AOSD'06 - Bonn, ドイツ
継続期間: 3月 20 20063月 24 2006

出版物シリーズ

名前Proceedings of the 5th International Conference on Aspect-oriented Software Development 2006, AOSD'06
2006

その他

その他5th International Conference on Aspect-oriented Software Development 2006, AOSD'06
国/地域ドイツ
CityBonn
Period3/20/063/24/06

!!!All Science Journal Classification (ASJC) codes

  • ソフトウェア

フィンガープリント

「A framework and tool supports for generating test inputs of AspectJ programs」の研究トピックを掘り下げます。これらがまとまってユニークなフィンガープリントを構成します。

引用スタイル