TY - GEN
T1 - An incremental approach to testing AOP
AU - Restivo, André
AU - Aguiar, Ademar
AU - Moreira, Ana
N1 - Sem PDF.
SFRH/BD/32730/2006 Fuel Cell Technologies Program
PY - 2017
Y1 - 2017
N2 - Breaking down applications into smaller modules is a common way for software developers to cope with the increasing complexity of their projects. A common barrier to this endeavor is the presence of crosscutting concerns that prevent reusability and reduce comprehensibility. The promise of AOP (Aspect-Oriented Programming) is that, by using it, developers will be able to organize these crosscutting concerns into their own units of modularity. However, AOP does not tackle the problem of having tangled automatic tests. This paper presents a technique using incremental testing and invasive aspects to modify and adapt tests, enabling the development of unit tests that are free of crosscutting concerns and thus easier to reuse. Using a medium scale project, we will show that without using this technique, due to the presence of invasive aspects, some unit tests would have to be discarded or modified to accommodate the changes made by them.
AB - Breaking down applications into smaller modules is a common way for software developers to cope with the increasing complexity of their projects. A common barrier to this endeavor is the presence of crosscutting concerns that prevent reusability and reduce comprehensibility. The promise of AOP (Aspect-Oriented Programming) is that, by using it, developers will be able to organize these crosscutting concerns into their own units of modularity. However, AOP does not tackle the problem of having tangled automatic tests. This paper presents a technique using incremental testing and invasive aspects to modify and adapt tests, enabling the development of unit tests that are free of crosscutting concerns and thus easier to reuse. Using a medium scale project, we will show that without using this technique, due to the presence of invasive aspects, some unit tests would have to be discarded or modified to accommodate the changes made by them.
KW - Application programs
KW - Reusability
UR - http://www.scopus.com/inward/record.url?scp=85026645906&partnerID=8YFLogxK
U2 - 10.1007/978-3-319-62569-0_15
DO - 10.1007/978-3-319-62569-0_15
M3 - Conference contribution
AN - SCOPUS:85026645906
SN - 9783319625683
VL - 743
T3 - Communications in Computer and Information Science
SP - 309
EP - 331
BT - Software Technologies - 11th International Joint Conference, ICSOFT 2016, Revised Selected Papers
PB - Springer Verlag
T2 - 11th International Joint Conference on Software Technologies, ICSOFT 2016
Y2 - 24 July 2016 through 26 July 2016
ER -