When software systems evolve, for example due to fault fixes, modification of functionalities or refactoring activities, test cases may become obsolete thus generating wrong results or even not being executable or compilable. Maintaining test cases is expensive and time consuming, and often test cases are discarded by software developers due to high maintenance costs. This paper presents TestCareAssistant, a technique that combines data-flow analysis with program diffing for automatically repairing test cases that become obsolete because of changes in method declarations (addition, removal, or type modification of parameters or return values). The paper illustrates the efficacy of TestCareAssistant by analyzing the impact of method declarations changes on the executability of test cases, and by presenting the preliminary results of applying TestCareAssistant to repair 22 test cases

Mirzaaghaei, M., Pastore, F., Pezze', M. (2010). Automatically repairing test cases for evolving method declarations. In Proceedings-IEEE International Conference on Software Maintenance (pp.1-5). IEEE Computer Society [10.1109/ICSM.2010.5609549].

Automatically repairing test cases for evolving method declarations

PASTORE, FABRIZIO;PEZZE', MAURO
2010

Abstract

When software systems evolve, for example due to fault fixes, modification of functionalities or refactoring activities, test cases may become obsolete thus generating wrong results or even not being executable or compilable. Maintaining test cases is expensive and time consuming, and often test cases are discarded by software developers due to high maintenance costs. This paper presents TestCareAssistant, a technique that combines data-flow analysis with program diffing for automatically repairing test cases that become obsolete because of changes in method declarations (addition, removal, or type modification of parameters or return values). The paper illustrates the efficacy of TestCareAssistant by analyzing the impact of method declarations changes on the executability of test cases, and by presenting the preliminary results of applying TestCareAssistant to repair 22 test cases
paper
automatic repairing test case maintenance, Conferences, data flow analysis, data-flow analysis, IEEE Computer Society, Maintenance engineering, program testing, Prototypes, Software engineering, software maintenance, software refactoring, software systems, TestCareAssistant technique
English
IEEE International Conference on Software Maintenance (ICSM)
2010
Proceedings-IEEE International Conference on Software Maintenance
978-1-4244-8629-8
2010
1
5
5609549
none
Mirzaaghaei, M., Pastore, F., Pezze', M. (2010). Automatically repairing test cases for evolving method declarations. In Proceedings-IEEE International Conference on Software Maintenance (pp.1-5). IEEE Computer Society [10.1109/ICSM.2010.5609549].
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/10281/43981
Citazioni
  • Scopus 29
  • ???jsp.display-item.citation.isi??? 4
Social impact