• DocumentCode
    2087783
  • Title

    Supporting Test Suite Evolution through Test Case Adaptation

  • Author

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

  • Author_Institution
    Fac. of Inf., Univ. of Lugano, Lugano, Switzerland
  • fYear
    2012
  • fDate
    17-21 April 2012
  • Firstpage
    231
  • Lastpage
    240
  • Abstract
    Software systems evolve during development and maintenance, and many test cases designed for the early versions of the system become obsolete during the software lifecycle. Repairing test cases that do not compile due to changes in the code under test and generating new test cases to test the changed code is an expensive and time consuming activity that could benefit from automated approaches. In this paper we propose an approach for automatically repairing and generating test cases during software evolution. Differently from existing approaches to test case generation, our approach uses information available in existing test cases, defines a set of heuristics to repair test cases invalidated by changes in the software, and generate new test cases for evolved software. The results obtained with a prototype implementation of the technique show that the approach can effectively maintain evolving test suites, and perform well compared to competing approaches.
  • Keywords
    automatic test pattern generation; automatic test software; program testing; software maintenance; software prototyping; prototype implementation; software development; software evolution; software lifecycle; software maintenance; test case design; test case generation; test case repairing; Context; Instruments; Maintenance engineering; Software algorithms; Software systems; Testing; Software testing; Test case evolution; Test case maintenance;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Testing, Verification and Validation (ICST), 2012 IEEE Fifth International Conference on
  • Conference_Location
    Montreal, QC
  • Print_ISBN
    978-1-4577-1906-6
  • Type

    conf

  • DOI
    10.1109/ICST.2012.103
  • Filename
    6200124