CATTO: Just-in-time Test Case Selection and Execution

Dario Amoroso D Aragona, Fabiano Pecorelli, Simone Romano, Giuseppe Scanniello, Maria Teresa Baldassarre, Andrea Janes, Valentina Lenarduzzi

Research output: Chapter in Book/Report/Conference proceedingConference contributionScientificpeer-review

3 Citations (Scopus)
12 Downloads (Pure)

Abstract

Regression testing wants to prevent that errors, which have already been corrected once, creep back into a system that has been updated. A naïve approach consists of re-running the entire test suite (TS) against the changed version of the software under test (SUT). However, this might result in a time-and resource-consuming process; e.g., when dealing with large and/or complex SUTs and TSs. To avoid this problem, Test Case Selection (TCS) approaches can be used. This kind of approaches build a temporary TS comprising only those test cases (TCs) that are relevant to the changes made to the SUT, so avoiding executing unnecessary TCs. In this paper, we introduce CATTO (Commit Adaptive Tool for Test suite Optimization), a tool implementing a TCS strategy for SUTs written in Java as well as a wrapper to allow developers to use CATTO within IntelliJ IDEA and to execute CATTO just-in-time before committing changes to the repository. We conducted a preliminary evaluation of CATTO on seven open-source Java projects to evaluate the reduction of the test-suite size, the loss of fault-revealing TCs, and the loss of fault-detection capability. The results suggest that CATTO can be of help to developers when performing TCS. The video demo and the documentation of the tool is available at: https://catto-tool.github.io/
Original languageEnglish
Title of host publication38th IEEE International Conference on Software Maintenance and Evolution (ICSME)
PublisherIEEE
Pages459-463
Number of pages4
ISBN (Electronic)978-1-6654-7956-1
ISBN (Print)978-1-6654-7957-8
DOIs
Publication statusPublished - 2022
Publication typeA4 Article in conference proceedings
EventIEEE International Conference on Software Maintenance and Evolution - Limassol, Cyprus
Duration: 3 Oct 20227 Oct 2022

Publication series

NameIEEE International Conference on Software Maintenance and Evolution
PublisherIEEE
ISSN (Print)1063-6773
ISSN (Electronic)2576-3148

Conference

ConferenceIEEE International Conference on Software Maintenance and Evolution
Country/TerritoryCyprus
CityLimassol
Period3/10/227/10/22

Keywords

  • Java
  • Testing
  • Software maintenance
  • Creep
  • Optimization
  • Documentation

Publication forum classification

  • Publication forum level 1

Fingerprint

Dive into the research topics of 'CATTO: Just-in-time Test Case Selection and Execution'. Together they form a unique fingerprint.

Cite this