• DocumentCode
    2792469
  • Title

    Using the Case-Based Ranking Methodology for Test Case Prioritization

  • Author

    Tonella, Paolo ; Avesani, Paolo ; Susi, Angelo

  • Author_Institution
    ITC-irst, Trento
  • fYear
    2006
  • fDate
    24-27 Sept. 2006
  • Firstpage
    123
  • Lastpage
    133
  • Abstract
    The test case execution order affects the time at which the objectives of testing are met. If the objective is fault detection, an inappropriate execution order might reveal most faults late, thus delaying the bug fixing activity and eventually the delivery of the software. Prioritizing the test cases so as to optimize the achievement of the testing goal has potentially a positive impact on the testing costs, especially when the test execution time is long. Test engineers often possess relevant knowledge about the relative priority of the test cases. However, this knowledge can be hardly expressed in the form of a global ranking or scoring. In this paper, we propose a test case prioritization technique that takes advantage of user knowledge through a machine learning algorithm, case-based ranking (CBR). CBR elicits just relative priority information from the user, in the form of pairwise test case comparisons. User input is integrated with multiple prioritization indexes, in an iterative process that successively refines the test case ordering. Preliminary results on a case study indicate that CBR overcomes previous approaches and, for moderate suite size, gets very close to the optimal solution
  • Keywords
    learning (artificial intelligence); program testing; case-based ranking; fault detection; machine learning; software testing; test case execution order; test case ordering; test case prioritization; Application software; Automatic testing; Cost function; Delay; Fault detection; Humans; Machine learning algorithms; Software debugging; Software testing; System testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Maintenance, 2006. ICSM '06. 22nd IEEE International Conference on
  • Conference_Location
    Philadelphia, PA
  • ISSN
    1063-6773
  • Print_ISBN
    0-7695-2354-4
  • Type

    conf

  • DOI
    10.1109/ICSM.2006.74
  • Filename
    4021329