Measuring Software Testability via Automatically Generated Test Cases

07/30/2023
by   Luca Guglielmo, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/22/2021

Towards Evidence-based Testability Measurements

Evaluating Software testability can assist software managers in optimizi...
research
01/25/2022

Investigating Software Testability and Test cases Effectiveness

Software measurement is an essential management tool to develop robust a...
research
02/28/2020

Metamorphic Testing: A New Approach for Generating Next Test Cases

In software testing, a set of test cases is constructed according to som...
research
08/22/2023

LEAP: Efficient and Automated Test Method for NLP Software

The widespread adoption of DNNs in NLP software has highlighted the need...
research
01/25/2020

Open-source Defect Injection Benchmark Testbed for the Evaluation of Testing

A natural method to evaluate the effectiveness of a testing technique is...
research
04/23/2023

Finding Failure-Inducing Test Cases with ChatGPT

Automatically detecting software failures is an important task and a lon...
research
12/22/2020

Do We Need Improved Code Quality Metrics?

The software development community has been using code quality metrics f...

Please sign up or login with your details

Forgot password? Click here to reset