• DocumentCode
    3368942
  • Title

    Refactoring Test Code Safely

  • Author

    Guerra, Eduardo Martins ; Fernandes, Clovis Torres

  • fYear
    2007
  • fDate
    25-31 Aug. 2007
  • Firstpage
    44
  • Lastpage
    44
  • 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;
  • fLanguage
    English
  • Publisher
    ieee
  • 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
  • Type

    conf

  • DOI
    10.1109/ICSEA.2007.57
  • Filename
    4299925