• DocumentCode
    1605874
  • Title

    An Information Retrieval Approach for Regression Test Prioritization Based on Program Changes

  • Author

    Saha, Ripon K. ; Lingming Zhang ; Khurshid, Sarfraz ; Perry, Dewayne E.

  • Author_Institution
    Electr. & Comput. Eng., Univ. of Texas at Austin, Austin, TX, USA
  • Volume
    1
  • fYear
    2015
  • Firstpage
    268
  • Lastpage
    279
  • Abstract
    Regression testing is widely used in practice for validating program changes. However, running large regression suites can be costly. Researchers have developed several techniques for prioritizing tests such that the higher-priority tests have a higher likelihood of finding bugs. A vast majority of these techniques are based on dynamic analysis, which can be precise but can also have significant overhead (e.g., for program instrumentation and test-coverage collection). We introduce a new approach, REPiR, to address the problem of regression test prioritization by reducing it to a standard Information Retrieval problem such that the differences between two program versions form the query and the tests constitute the document collection. REPiR does not require any dynamic profiling or static program analysis. As an enabling technology we leverage the open-source IR toolkit Indri. An empirical evaluation using eight open-source Java projects shows that REPiR is computationally efficient and performs better than existing (dynamic or static) techniques for the majority of subject systems.
  • Keywords
    information retrieval; program debugging; program testing; public domain software; system monitoring; REPiR; bugs; dynamic analysis; information retrieval approach; open-source IR toolkit Indri; open-source Java projects; program changes; regression suites; regression test prioritization; regression testing; Information retrieval; Natural languages; Open source software; Software engineering; Standards; Testing; Information Retrieval; Regression Testing; Test Prioritization;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering (ICSE), 2015 IEEE/ACM 37th IEEE International Conference on
  • Conference_Location
    Florence
  • Type

    conf

  • DOI
    10.1109/ICSE.2015.47
  • Filename
    7194580