• DocumentCode
    725860
  • Title

    Building Test Oracles by Clustering Failures

  • Author

    Almaghairbe, Rafig ; Roper, Marc

  • Author_Institution
    Dept. Comput. & Inf. Sci., Univ. of Strathclyde, Glasgow, UK
  • fYear
    2015
  • fDate
    23-24 May 2015
  • Firstpage
    3
  • Lastpage
    7
  • Abstract
    In recent years, software testing research has produced notable advances in the area of automated test data generation, but the corresponding oracle problem (a mechanism for determine the (in)correctness of an executed test case) is still a major problem. In this paper, we present a preliminary study which investigates the application of anomaly detection techniques (based on clustering) to automatically build an oracle using a system´s input/output pairs, based on the hypothesis that failures will tend to group into small clusters. The fault detection capability of the approach is evaluated on two systems and the findings reveal that failing outputs do indeed tend to congregate in small clusters, suggesting that the approach is feasible and has the potential to reduce by an order of magnitude the numbers of outputs that would need to be manually examined following a test run.
  • Keywords
    fault diagnosis; pattern clustering; program testing; software maintenance; anomaly detection techniques; clustering failures; fault detection capability; software testing; test oracles; Clustering algorithms; Couplings; Encoding; Software; Software engineering; Software testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Automation of Software Test (AST), 2015 IEEE/ACM 10th International Workshop on
  • Conference_Location
    Florence
  • Type

    conf

  • DOI
    10.1109/AST.2015.8
  • Filename
    7166257