University of Oulu

D. A. d’Aragona et al., "CATTO: Just-in-time Test Case Selection and Execution," 2022 IEEE International Conference on Software Maintenance and Evolution (ICSME), Limassol, Cyprus, 2022, pp. 459-463, doi: 10.1109/ICSME55016.2022.00059

CATTO : just-in-time test case selection and execution

Saved in:
Author: d’Aragona, Dario Amoroso1; Pecorelli, Fabiano1; Romano, Simone2;
Organizations: 1Tampere University, Finland
2University of Salerno, Italy
3University of Bari, Italy
4Free University of Bozen-Bolzano, Italy
5University of Oulu, Finland
Format: article
Version: accepted version
Access: open
Online Access: PDF Full Text (PDF, 0.8 MB)
Persistent link: http://urn.fi/urn:nbn:fi-fe2023032333014
Language: English
Published: IEEE Computer Society Press, 2022
Publish Date: 2023-03-23
Description:

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/

see all

Series: Proceedings. IEEE International Conference on Software Maintenance
ISSN: 1063-6773
ISSN-E: 2576-3148
ISSN-L: 1063-6773
ISBN: 978-1-6654-7956-1
ISBN Print: 978-1-6654-7957-8
Pages: 459 - 463
DOI: 10.1109/ICSME55016.2022.00059
OADOI: https://oadoi.org/10.1109/ICSME55016.2022.00059
Host publication: 2022 IEEE International Conference on Software Maintenance and Evolution (ICSME)
Conference: IEEE International Conference on Software Maintenance and Evolution
Type of Publication: A4 Article in conference proceedings
Field of Science: 113 Computer and information sciences
Subjects:
Copyright information: © 2022 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works.