Increasing Unit Test Resilience by Decreasing Pointcut Fragility
Increasing Unit Test Resilience by Decreasing Pointcut Fragility
Autori:
Izdanje: International Scientific Conference on Information Technology and Data Related Research
DOI: 10.15308/Sinteza-2019-369-373
Oblast: Software and Information Engineering and Internet and Development Perspectives
Stranice: 369-373
Apstrakt:
By operating at a very detailed level, unit tests are very susceptible to changes in production code. Writing unit tests in aspect-oriented programming can help with their maintainability. However, the existing approaches do not take into account so-called pointcut fragility: a failure to address the intended join points due to small changes in the base code. An approach to increasing unit test resilience to changes in production code by decreasing pointcut fragility is proposed in this paper. The approach is implemented in AspectJ with JUnit used as a test oracle. The approach has been evaluated on several scenarios encompassing typical code modification that render unusable the tests writ- ten in a simple object-oriented way. The approach proposed in this paper managed to make the test resilient to the most of the changes introduced by these scenarios.
Ključne reči: software testing, aspect-oriented programming, pointcut fragility, AspectJ, Java
Priložene datoteke:
- 369-373 ( veličina: 448,59 KB, broj pregleda: 235 )
Zahvaljujemo se što ste preuzeli publikaciju sa portala Singipedia.
Ukoliko želite da se prijavite za obaveštenja o sadržajima iz oblasti ove publikacije, možete nam ostaviti adresu svoje elektronske pošte.
Preuzimanje citata:
BibTeX format
RefWorks Tagged format
Unapred formatirani prikaz citata
BibTeX format
@article{article, author = {M. Hucko and V. Vranić}, title = {Increasing Unit Test Resilience by Decreasing Pointcut Fragility}, journal = {International Scientific Conference on Information Technology and Data Related Research}, year = 2020, pages = {369-373}, doi = {10.15308/Sinteza-2019-369-373} }
RT Conference Proceedings A1 Michael Hucko A1 Valentino Vranić T1 Increasing Unit Test Resilience by Decreasing Pointcut Fragility AD Univerzitet Singidunum, Beograd, Beograd, Srbija YR 2020 NO doi: 10.15308/Sinteza-2019-369-373
M. Hucko and V. Vranić, Increasing Unit Test Resilience by Decreasing Pointcut Fragility, Univerzitet Singidunum, Beograd, 2020, doi:10.15308/Sinteza-2019-369-373