Communication publiée dans un ouvrage (Colloques, congrès, conférences scientifiques et actes)
Log-based Slicing for System-level Test Cases
MESSAOUDI, Salma; SHIN, Donghwan; Panichella, Annibale et al.
2021In Proceedings of ISSTA '21: 30th ACM SIGSOFT International Symposium on Software Testing and Analysis
Peer reviewed
 

Documents


Texte intégral
DS3_main.pdf
Postprint Auteur (597.53 kB)
Télécharger

Tous les documents dans ORBilu sont protégés par une licence d'utilisation.

Envoyer vers



Détails



Mots-clés :
system level testing; log; program slicing
Résumé :
[en] Regression testing is arguably one of the most important activities in software testing. However, its cost-effectiveness and usefulness can be largely impaired by complex system test cases that are poorly designed (e.g., test cases containing multiple test scenarios combined into a single test case) and that require a large amount of time and resources to run. One way to mitigate this issue is decomposing such system test cases into smaller, separate test cases---each of them with only one test scenario and with its corresponding assertions---so that the execution time of the decomposed test cases is lower than the original test cases, while the test effectiveness of the original test cases is preserved. This decomposition can be achieved with program slicing techniques, since test cases are software programs too. However, existing static and dynamic slicing techniques exhibit limitations when (1) the test cases use external resources, (2) code instrumentation is not a viable option, and (3) test execution is expensive. In this paper, we propose a novel approach, called DS3 (Decomposing System teSt caSe), which automatically decomposes a complex system test case into separate test case slices. The idea is to use test case execution logs, obtained from past regression testing sessions, to identify "hidden" dependencies in the slices generated by static slicing. Since logs include run-time information about the system under test, we can use them to extract access and usage of global resources and refine the slices generated by static slicing. We evaluated DS3 in terms of slicing effectiveness and compared it with a vanilla static slicing tool. We also compared the slices obtained by DS3 with the corresponding original system test cases, in terms of test efficiency and effectiveness. The evaluation results on one proprietary system and one open-source system show that DS3 is able to accurately identify the dependencies related to the usage of global resources, which vanilla static slicing misses. Moreover, the generated test case slices are, on average, 3.56 times faster than original system test cases and they exhibit no significant loss in terms of fault detection effectiveness.
Centre de recherche :
Interdisciplinary Centre for Security, Reliability and Trust (SnT) > Software Verification and Validation Lab (SVV Lab)
Disciplines :
Sciences informatiques
Auteur, co-auteur :
MESSAOUDI, Salma ;  University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT) > SVV
SHIN, Donghwan ;  University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT) > SVV
Panichella, Annibale;  Delft University of Technology
BIANCULLI, Domenico  ;  University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT) > SVV
BRIAND, Lionel ;  University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT) > SVV
Co-auteurs externes :
yes
Langue du document :
Anglais
Titre :
Log-based Slicing for System-level Test Cases
Date de publication/diffusion :
juillet 2021
Nom de la manifestation :
INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS
Date de la manifestation :
from 11-07-2021 to 17-07-2021
Manifestation à portée :
International
Titre de l'ouvrage principal :
Proceedings of ISSTA '21: 30th ACM SIGSOFT International Symposium on Software Testing and Analysis
Pagination :
517-528
Peer reviewed :
Peer reviewed
Focus Area :
Security, Reliability and Trust
Projet FnR :
FNR11602677 - Log-driven, Search-based Test Generation For Ground Control Systems, 2017 (01/01/2018-30/06/2021) - Lionel Briand
Disponible sur ORBilu :
depuis le 20 avril 2021

Statistiques


Nombre de vues
568 (dont 73 Unilu)
Nombre de téléchargements
291 (dont 25 Unilu)

citations Scopus®
 
17
citations Scopus®
sans auto-citations
15
OpenCitations
 
3
citations OpenAlex
 
18

Bibliographie


Publications similaires



Contacter ORBilu