Estimating software testability can crucially assist software managers to optimize test budgets and software quality. In this paper, we propose a new approach that radically differs from the traditional approach of pursuing testability measurements based on software metrics, e.g., the size of the code or the complexity of the designs. Our approach exploits automatic test generation and mutation analysis to quantify the evidence about the relative hardness of developing effective test cases. In the paper, we elaborate on the intuitions and the methodological choices that underlie our proposal for estimating testability, introduce a technique and a prototype that allows for concretely estimating testability accordingly, and discuss our findings out of a set of experiments in which we compare the performance of our estimations both against and in combination with traditional software metrics. The results show that our testability estimates capture a complementary dimension of testability that can be synergistically combined with approaches based on software metrics to improve the accuracy of predictions.

Guglielmo, L., Mariani, L., Denaro, G. (2024). Measuring Software Testability via Automatically Generated Test Cases. IEEE ACCESS, 12, 63904-63916 [10.1109/access.2024.3396625].

Measuring Software Testability via Automatically Generated Test Cases

Guglielmo, L
;
Mariani, L;Denaro, G
2024

Abstract

Estimating software testability can crucially assist software managers to optimize test budgets and software quality. In this paper, we propose a new approach that radically differs from the traditional approach of pursuing testability measurements based on software metrics, e.g., the size of the code or the complexity of the designs. Our approach exploits automatic test generation and mutation analysis to quantify the evidence about the relative hardness of developing effective test cases. In the paper, we elaborate on the intuitions and the methodological choices that underlie our proposal for estimating testability, introduce a technique and a prototype that allows for concretely estimating testability accordingly, and discuss our findings out of a set of experiments in which we compare the performance of our estimations both against and in combination with traditional software metrics. The results show that our testability estimates capture a complementary dimension of testability that can be synergistically combined with approaches based on software metrics to improve the accuracy of predictions.
Articolo in rivista - Articolo scientifico
automatic test generation; mutation analysis; Software testability; software testing;
English
3-mag-2024
2024
12
63904
63916
open
Guglielmo, L., Mariani, L., Denaro, G. (2024). Measuring Software Testability via Automatically Generated Test Cases. IEEE ACCESS, 12, 63904-63916 [10.1109/access.2024.3396625].
File in questo prodotto:
File Dimensione Formato  
Guglielmo-2024-IEEE Access-VoR.pdf

accesso aperto

Tipologia di allegato: Publisher’s Version (Version of Record, VoR)
Licenza: Creative Commons
Dimensione 2.47 MB
Formato Adobe PDF
2.47 MB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/10281/487060
Citazioni
  • Scopus 0
  • ???jsp.display-item.citation.isi??? 0
Social impact