loading
Papers Papers/2022 Papers Papers/2022

Research.Publish.Connect.

Paper

Paper Unlock

Authors: André Restivo 1 ; Ademar Aguiar 1 and Ana Moreira 2

Affiliations: 1 Faculdade de Engenharia da Universidade do Porto, Portugal ; 2 Universidade Nova De Lisboa, Portugal

Keyword(s): Testing, Aspects, Modularity.

Related Ontology Subjects/Areas/Topics: Aspects ; Aspects Interference and Composition ; Aspects Testing and Verification ; Modularity with Aspects ; Paradigm Trends ; Software Engineering

Abstract: By designing systems as sets of modules that can be composed into larger applications, developers unleash a multitude of advantages. The promise of AOP (Aspect-Oriented Programming) is to enable developers to organize crosscutting concerns into separate units of modularity making it easier to accomplish this vision. However, AOP does not allow unit tests to be untangled, which impairs the development of properly tested independent modules. This paper presents a technique that enables developers to encapsulate crosscutting concerns using AOP and still be able to develop reusable unit tests. Our approach uses incremental testing and invasive aspects to modify and adapt tests. The approach was evaluated in a medium scale project with promising results. Without using the proposed 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. This would have a profound impact on the overall modularity and , in particular, on the reusability of those modules. We will show that this technique enables proper unit tests that can be reused even when coupled with aspect-oriented code. (More)

CC BY-NC-ND 4.0

Sign In Guest: Register as new SciTePress user now for free.

Sign In SciTePress user: please login.

PDF ImageMy Papers

You are not signed in, therefore limits apply to your IP address 3.129.211.116

In the current month:
Recent papers: 100 available of 100 total
2+ years older papers: 200 available of 200 total

Paper citation in several formats:
Restivo, A.; Aguiar, A. and Moreira, A. (2016). Incremental Modular Testing for AOP. In Proceedings of the 11th International Joint Conference on Software Technologies (ICSOFT 2016) - ICSOFT-PT; ISBN 978-989-758-194-6, SciTePress, pages 50-59. DOI: 10.5220/0005986600500059

@conference{icsoft-pt16,
author={André Restivo. and Ademar Aguiar. and Ana Moreira.},
title={Incremental Modular Testing for AOP},
booktitle={Proceedings of the 11th International Joint Conference on Software Technologies (ICSOFT 2016) - ICSOFT-PT},
year={2016},
pages={50-59},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0005986600500059},
isbn={978-989-758-194-6},
}

TY - CONF

JO - Proceedings of the 11th International Joint Conference on Software Technologies (ICSOFT 2016) - ICSOFT-PT
TI - Incremental Modular Testing for AOP
SN - 978-989-758-194-6
AU - Restivo, A.
AU - Aguiar, A.
AU - Moreira, A.
PY - 2016
SP - 50
EP - 59
DO - 10.5220/0005986600500059
PB - SciTePress