• DocumentCode
    2302469
  • Title

    Regression Test Selection Techniques for Test-Driven Development

  • Author

    Cibulski, Hagai ; Yehudai, Amiram

  • Author_Institution
    Blavatnik Sch. of Comput. Sci., Tel-Aviv Univ., Tel-Aviv, Israel
  • fYear
    2011
  • fDate
    21-25 March 2011
  • Firstpage
    115
  • Lastpage
    124
  • Abstract
    Test-Driven Development (TDD) is characterized by repeated execution of a test suite, enabling developers to change code with confidence. However, running an entire test suite after every small code change is not always cost effective. Therefore, regression test selection (RTS) techniques are important for TDD. Particularly challenging for TDD is the task of selecting a small subset of tests that are most likely to detect a regression fault in a given small and localized code change. We present cost-bounded RTS techniques based on both dynamic program analysis and natural-language analysis. We implemented our techniques in a tool called Test Rank, and evaluated its effectiveness on two open-source projects. We show that using these techniques, developers can accelerate their development cycle, while maintaining a high bug detection rate, whether actually following TDD, or in any methodology that combines testing during development.
  • Keywords
    natural language processing; program debugging; program diagnostics; program testing; software fault tolerance; bug detection rate; code change; cost-bounded RTS technique; development cycle; dynamic program analysis; natural-language analysis; regression fault; regression test selection; test rank tool; test-driven development; Context; Correlation; Frequency measurement; Java; Natural languages; Testing; Development Tools; Test coverage of code; Test execution;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Testing, Verification and Validation Workshops (ICSTW), 2011 IEEE Fourth International Conference on
  • Conference_Location
    Berlin
  • Print_ISBN
    978-1-4577-0019-4
  • Electronic_ISBN
    978-0-7695-4345-1
  • Type

    conf

  • DOI
    10.1109/ICSTW.2011.28
  • Filename
    5954400