We use a few cookies

Essential cookies keep the library working. With your permission, we'd also like to use analytics to see what's useful and improve the experience. Read our Privacy Policy or Cookie Policy.

Skip to main content
Home/e-Resources/Software Engineering/Detecting Redundant Unit Tests for AspectJ Programs
PeriodicalsSoftware Engineering

Detecting Redundant Unit Tests for AspectJ Programs

Checking your access to this record.

Abstract & Overview

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 test that does 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 and applied it on 12 subjects taken from a variety of sources; our experience shows that Raspect can effectively reduce the size of generated test suites for inspecting AspectJ programs

Cite this record

Tao Xie, Jianjun Zhao, Darko Marinov, David S. Notkin (2006). Detecting Redundant Unit Tests for AspectJ Programs. Proceedings/Proceedings - International Symposium on Software Reliability Engineering, 179–190. https://doi.org/10.1109/issre.2006.21

Copy in another style

Xie, T., Zhao, J., Marinov, D., & Notkin, D. S. (2006). Detecting Redundant Unit Tests for AspectJ Programs. Proceedings/Proceedings - International Symposium on Software Reliability Engineering, 179–190. https://doi.org/10.1109/issre.2006.21
Author names are used as deposited, so check their order before you submit.

Metadata is harvested from open-access indexes and can be incomplete. Check a citation against the published version before relying on it — see our open access & attribution policy.