• DocumentCode
    2609286
  • Title

    Looking for More Confidence in Refactoring? How to Assess Adequacy of Your Refactoring Tests

  • Author

    Dinh-Trong, Trung ; Geppert, Birgit ; Li, J. Jenny ; Roessler, Frank

  • Author_Institution
    Avaya Labs. Res., Basking Ridge, NY
  • fYear
    2008
  • fDate
    12-13 Aug. 2008
  • Firstpage
    255
  • Lastpage
    263
  • Abstract
    Refactoring is an important technique in today´s software development practice. If applied correctly, it can significantly improve software design without altering behavior. During refactoring, developers rely on regression testing. However, without further knowledge about the test suite, how can we be confident that regression testing will detect potential refactoring faults? To get more insight into adequacy of refactoring tests, we therefore suggest test coverage of a refactoring´s scope of impact as a quantitative measure of confidence. This paper shows how to identify a refactoring´s scope of impact and proposes scope-based test coverage criteria. An example is included that illustrates how to use the new test coverage criteria for assessing the adequacy of refactoring tests.
  • Keywords
    program testing; software engineering; refactoring tests; regression testing; software design; software development; Automatic testing; Costs; Fault detection; Flow graphs; Programming; Software design; Software quality; Software systems; Software testing; System testing; code coverage; control flow graph; dominator; refactoring; test adequacy criteria; testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Quality Software, 2008. QSIC '08. The Eighth International Conference on
  • Conference_Location
    Oxford
  • ISSN
    1550-6002
  • Print_ISBN
    978-0-7695-3312-4
  • Type

    conf

  • DOI
    10.1109/QSIC.2008.49
  • Filename
    4601552