Sciweavers

ISSRE
2006
IEEE

Detecting Redundant Unit Tests for AspectJ Programs

14 years 6 months ago
Detecting Redundant Unit Tests for AspectJ Programs
Aspect-oriented software development is gaining popularity with the adoption of languages such as AspectJ. Testing is an important part in any software development, including aspect-oriented development. To automate generation of unit tests for AspectJ programs, we can apply the existing tools that automate generation of unit tests for Java programs. However, these tools can generate a large number of test inputs, and manually inspecting the behavior of the software on all these inputs is time consuming. We propose Raspect, a framework for detecting redundant unit tests for AspectJ programs. We introduce three levels of units in AspectJ programs: advised methods, advice, and intertype methods. We show how to detect at each level redundant tests that do not exercise new behavior. Our approach selects only non-redundant tests from the automatically generated test suites, thus allowing the developer to spend less time in inspecting this reduced set of tests. We have implemented Raspect a...
Tao Xie, Jianjun Zhao, Darko Marinov, David Notkin
Added 12 Jun 2010
Updated 12 Jun 2010
Type Conference
Year 2006
Where ISSRE
Authors Tao Xie, Jianjun Zhao, Darko Marinov, David Notkin
Comments (0)