UPM Institutional Repository

Automated test generation technique for aspectual features in AspectJ


Parizi, Reza Meimandi and Abdul Ghani, Abdul Azim and Lee, Sai Peck (2015) Automated test generation technique for aspectual features in AspectJ. Information and Software Technology, 57. pp. 463-493. ISSN 0950-5849; ESSN: 1873-6025


Context: Aspect-oriented programming (AOP) has been promoted as a means for handling the modularization of software systems by raising the abstraction level and reducing the scattering and tangling of crosscutting concerns. Studies from literature have shown the usefulness and application of AOP across various fields of research and domains. Despite this, research shows that AOP is currently used in a cautious way due to its natural impact on testability and maintainability. Objective: To realize the benefits of AOP and to increase its adoption, aspects developed using AOP should be subjected to automated testing. Automated testing, as one of the most pressing needs of the software industry to reduce both effort and costs in assuring correctness, is a delicate issue in testing aspect-oriented programs that still requires advancement and has a way to go before maturity. Method: Previous attempts and studies in automated test generation process for aspect-oriented programs have been very limited. This paper proposes a rigorous automated test generation technique, called RAMBUTANS, with its tool support based on guided random testing for the AspectJ programs. Results: The paper reports the results of a thorough empirical study of 9 AspectJ benchmark programs, including non-trivial and larger software, by means of mutation analysis to compare RAMBUTANS and the four existing automated AOP testing approaches for testing aspects in terms of fault detection effectiveness and test effort efficiency. The results of the experiment and statistical tests supplemented by effect size measures presented evidence of the effectiveness and efficiency of the proposed technique at 99% confidence level (i.e. p < 0.01). Conclusion: The study showed that the resulting randomized tests were reasonably good for AOP testing, thus the proposed technique could be worth using as an effective and efficient AOP-specific automated test generation technique.

Download File

PDF (Abstract)
Automated test generation technique for aspectual features in AspectJ.pdf

Download (36kB) | Preview

Additional Metadata

Item Type: Article
Divisions: Faculty of Computer Science and Information Technology
DOI Number: https://doi.org/10.1016/j.infsof.2014.05.020
Publisher: Elsevier
Keywords: Software testing; Automated test generation; Testing tool; AspectJ; Empirical study
Depositing User: Nabilah Mustapa
Date Deposited: 06 Apr 2016 07:06
Last Modified: 06 Apr 2016 07:06
Altmetrics: http://www.altmetric.com/details.php?domain=psasir.upm.edu.my&doi=10.1016/j.infsof.2014.05.020
URI: http://psasir.upm.edu.my/id/eprint/36599
Statistic Details: View Download Statistic

Actions (login required)

View Item View Item