• DocumentCode
    2672038
  • Title

    Automatically repairing test cases for evolving method declarations

  • Author

    Mirzaaghaei, Mehdi ; Pastore, Fabrizio ; Pezzè, Mauro

  • Author_Institution
    Univ. of Lugano, Lugano, Switzerland
  • fYear
    2010
  • fDate
    12-18 Sept. 2010
  • Firstpage
    1
  • Lastpage
    5
  • 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.
  • Keywords
    data flow analysis; program testing; software maintenance; TestCareAssistant technique; automatic repairing test case maintenance; data-flow analysis; software refactoring; software systems; Conferences; IEEE Computer Society; Maintenance engineering; Prototypes; Software engineering; Software systems;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Maintenance (ICSM), 2010 IEEE International Conference on
  • Conference_Location
    Timisoara
  • ISSN
    1063-6773
  • Print_ISBN
    978-1-4244-8630-4
  • Electronic_ISBN
    1063-6773
  • Type

    conf

  • DOI
    10.1109/ICSM.2010.5609549
  • Filename
    5609549