Comparative Analysis of Automated Testing Frameworks: JUnit and AspectJ
PDF

Keywords

Aspect oriented programming
AspectJ
Aspects
JUnit
software testing.

Categories

How to Cite

[1]
R. Patel and Z. Ali, “Comparative Analysis of Automated Testing Frameworks: JUnit and AspectJ”, J. Comput. Eng., vol. 11, no. 2, Feb. 2022, Accessed: Apr. 13, 2026. [Online]. Available: https://journalofcomputerengineering.com/index.php/jce/article/view/1431

Abstract

—Growing dependency of mankind on software technology increases the need for thorough testing of the software applications and automated testing techniques that support testing activities. We have outlined our testing strategy for performing various types of automated testing of Java applications using AspectJ which has become the de-facto standard for Aspect Oriented Programming (AOP). Likewise JUnit, a unit testing framework is the most popular Java testing tool. In this paper, we have evaluated our proposed AOP approach for automated testing and JUnit on various parameters. First we have provided the similarity between the two approaches and then we have done a detailed comparison of the two testing techniques on factors like lines of testing code, learning curve, testing of private members etc. We established that our AOP testing approach using AspectJ has got several advantages and is thus particularly more effective than JUnit
PDF
Creative Commons License

This work is licensed under a Creative Commons Attribution 4.0 International License.

Copyright (c) 2022 Rohan Patel, Zara Ali (Author)