arrow
Return

A test driven approach for aspectualizing legacy software using mock systems

delete2008-06-01
delete5
PRE
AI
M
Michael Mortensen *
S
Sudipto Ghosh
J
James M. Bieman
DOI:10.1016/j.infsof.2007.06.002delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Aspect-based refactoring, called aspectualization, involves moving program code that implements cross-cutting concerns into aspects. Such refactoring can improve the maintainability of legacy systems. Long compilation and weave times, and the lack of an appropriate testing methodology are two challenges to the aspectualization of large legacy systems. We propose an iterative test driven approach for creating and introducing aspects. The approach uses mock systems that enable aspect developers to quickly experiment with different pointcuts and advice, and reduce the compile and weave times. The approach also uses weave analysis, regression testing, and code coverage analysis to test the aspects. We developed several tools for unit and integration testing. We demonstrate the test driven approach in the context of large industrial C++ systems, and we provide guidelines for mock system creation. (C) 2007 Elsevier B.V. All rights reserved.
Keywords:
mock systems
aspect-oriented programming
legacy systems
refactoring
testing
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

Information and Software Technology cover
Information and Software Technology
IF:
4.3
Papers:
3.7K
Citations:
7.7K

Organization

C
Colorado State University System
Scholars:
1.3W
Papers: 1.0W
Citations: 3
H
hewlett-packard
Scholars:
834
Papers: 643
Citations: 1