• DocumentCode
    3694240
  • Title

    Efficient regression testing based on test history: An industrial evaluation

  • Author

    Edward Dunn Ekelund;Emelie Engström

  • Author_Institution
    Axis Communications AB, Sweden
  • fYear
    2015
  • Firstpage
    449
  • Lastpage
    457
  • Abstract
    Due to changes in the development practices at Axis Communications, towards continuous integration, faster regression testing feedback is needed. The current automated regression test suite takes approximately seven hours to run which prevents developers from integrating code changes several times a day as preferred. Therefore we want to implement a highly selective yet accurate regression testing strategy. Traditional code coverage based techniques are not applicable due to the size and complexity of the software under test. Instead we decided to select tests based on regression test history. We developed a tool, the Difference Engine, which parses and analyzes results from previous test runs and outputs regression test recommendations. The Difference Engine correlates code and test cases at package level and recommends test cases that are strongly correlated to recently changed packages. We evaluated the technique with respect to correctness, precision, recall and efficiency. Our results are promising. On average the tool manages to identify 80% of the relevant tests while recommending only 4% of the test cases in the full regression test suite.
  • Keywords
    "Correlation","Testing","Difference engines","Context","History","Software","Data mining"
  • Publisher
    ieee
  • Conference_Titel
    Software Maintenance and Evolution (ICSME), 2015 IEEE International Conference on
  • Type

    conf

  • DOI
    10.1109/ICSM.2015.7332496
  • Filename
    7332496