Automated Test Generation for AspectJ Programs

Tao Xie,Jianjun Zhao,Darko Marinov,David Notkin
2005-01-01
Abstract:Aspect-oriented software development (AOSD) is a new parad igm that improves separation of concerns in software developme nt. AOSD has gained popularity with the adoption of languages such as AspectJ. Automated test generation for AspectJ programs is im portant for reducing the manual effort in testing AspectJ programs. This position paper proposes Wrasp, a framework for automatic ge neration of tests for AspectJ programs. In aspect-oriented pro grams, we define three levels of units: advised methods (methods of b ase classes), advice, and intertype methods. Wrasp can generat t sts to test the integration of these units. Wrasp can also genera te tests to test advice as stand-alone units. The main contribution o f Wrasp is automatic synthesis of appropriate wrapper classes that enable Wrasp to generate tests for AspectJ programs using the exist ing tools that generate tests for Java programs.
What problem does this paper attempt to address?