• DocumentCode
    632652
  • Title

    A refactoring-based approach for test case selection and prioritization

  • Author

    Alves, Everton L. G. ; Machado, Patricia D. L. ; Massoni, Tiago ; Santos, Samuel T. C.

  • Author_Institution
    SPLab - Software Practices Lab., Fed. Univ. of Campina Grande, Campina Grande, Brazil
  • fYear
    2013
  • fDate
    18-19 May 2013
  • Firstpage
    93
  • Lastpage
    99
  • Abstract
    Refactoring edits, commonly applied during software development, may introduce faults in a previously-stable code. Therefore, regression testing is usually applied to check whether the code maintains its previous behavior. In order to avoid rerunning the whole regression suite, test case prioritization techniques have been developed to order test cases for earlier achievement of a given goal, for instance, improving the rate of fault detection during regression testing execution. However, as current techniques are usually general purpose, they may not be effective for early detection of refactoring faults. In this paper, we propose a refactoring-based approach for selecting and prioritizing regression test cases, which specializes selection/prioritization tasks according to the type of edit made. The approach has been evaluated through a case study that compares it to well-known prioritization techniques by using a real open-source Java system. This case study indicates that the approach can be more suitable for early detection of refactoring faults when comparing to the other prioritization techniques.
  • Keywords
    program testing; software maintenance; edit refactoring; fault detection; open-source Java system; refactoring-based approach; regression testing; software development; test case prioritization technique; test case selection technique; Debugging; Fault detection; Java; Measurement; Object oriented modeling; Software; Testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Automation of Software Test (AST), 2013 8th International Workshop on
  • Conference_Location
    San Francisco, CA
  • Type

    conf

  • DOI
    10.1109/IWAST.2013.6595798
  • Filename
    6595798