Title :
Refactoring Test Code Safely
Author :
Guerra, Eduardo Martins ; Fernandes, Clovis Torres
Abstract :
Test driven development is a technique in which the refactoring occurs all the time, in the application code and in the test code. But there is not a method to guarantee that the test code behavior after one refactoring remains unchanged. This paper presents a representation based on the JUnit unit test structure, as well as a classification of test code refactorings that may ease the analysis to verify if the test code refactoring was carried out safely, i.e., if the observable behavior of the refactored test code has been kept unchanged. The use of this proposed technique may safely improve and speed up the production of test code refactorings.
Keywords :
program testing; software engineering; JUnit unit test structure; test code refactoring classification; test driven development technique; Application software; Databases; Performance evaluation; Production; Programming; Software engineering; Software testing;
Conference_Titel :
Software Engineering Advances, 2007. ICSEA 2007. International Conference on
Conference_Location :
Cap Esterel
Print_ISBN :
0-7695-2937-2
Electronic_ISBN :
978-0-7695-2937-0
DOI :
10.1109/ICSEA.2007.57