• DocumentCode
    3256679
  • Title

    Mining Auto-generated Test Inputs for Test Oracle

  • Author

    Weifeng Xu ; Hanlin Wang ; Tao Ding

  • Author_Institution
    Comput. & Inf. Sci. Dept., Gannon Univ., Erie, PA, USA
  • fYear
    2013
  • fDate
    15-17 April 2013
  • Firstpage
    89
  • Lastpage
    94
  • Abstract
    A Search-based test input generator produces a high volume of auto-generated test inputs. However, manually checking a test oracle for these test inputs is impractical due to the lacking of a systematic way to produce corresponding expected results automatically. This paper presents a mining approach to build decision tree models containing the estimated expected results for checking a test oracle. We first choose a subset of the auto-generated test inputs as a training set. Then, we mine the training set to generate a decision tree from which the estimated expected results can be retrieved. For evaluation purpose, we have applied our approach to two legacy examples, Triangle and Next Date. Our controlled experiments have shown that the mining approach is able to generate highly accurate behavioral models and achieve strong fault detectability.
  • Keywords
    data mining; decision trees; program testing; search problems; Next Date; Triangle; auto-generated test input; decision tree model; mining approach; search-based test input generator; test oracle; Accuracy; Computational modeling; Data models; Decision trees; Fault detection; Training; Training data; Mining test inputs; decision tree; domain partitioning; test oracle;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Information Technology: New Generations (ITNG), 2013 Tenth International Conference on
  • Conference_Location
    Las Vegas, NV
  • Print_ISBN
    978-0-7695-4967-5
  • Type

    conf

  • DOI
    10.1109/ITNG.2013.126
  • Filename
    6614294