Search arXiv⌕ Search

arXiv subjects

Antonia Bertolino

Publications and source records attributed to Antonia Bertolino.

5 recordsLinked to original sources

Exploring the Combination of Test Generation and Test Amplification for Regression Testing

Regression testing plays a crucial role in software engineering by ensuring that code modifications do not introduce defects into previously stable systems. However, as software projects evolve in scale and complexity, executing the full regression test suite becomes increasingly costly. To mitigate this challenge, the research community has explored diverse strategies, including test case generation and test case amplification, both of which aim to improve coverage and fault detection efficiency. While each of these strategies has been widely investigated, in this paper we report a first preliminary empirical study on the effectiveness of combining test case generation and test case amplification. We evaluate EvoSuite (generation) and DSpot (amplification) as representatives of these strategies, both individually and in combination, using mutation score as the primary metric. Preliminary results indicate that the combination of the two approaches achieves the highest median mutation score, surpassing individual techniques. Although improvements are not always statistically significant, the consistent trend suggests a potential synergy between generation and amplification techniques. Nevertheless, further studies are necessary to properly evaluate this trend and consolidate the initial evidence. These early findings provide initial insights for practitioners interested in regression testing optimization, while highlighting the need for more extensive investigation, particularly in large-scale and continuous integration environments.

cs.SE↗

Large Language Models for Software Testing: A Research Roadmap

Large Language Models (LLMs) are starting to be profiled as one of the most significant disruptions in the Software Testing field. Specifically, they have been successfully applied in software testing tasks such as generating test code, or summarizing documentation. This potential has attracted hundreds of researchers, resulting in dozens of new contributions every month, hardening researchers to stay at the forefront of the wave. Still, to the best of our knowledge, no prior work has provided a structured vision of the progress and most relevant research trends in LLM-based testing. In this article, we aim to provide a roadmap that illustrates its current state, grouping the contributions into different categories, and also sketching the most promising and active research directions for the field. To achieve this objective, we have conducted a semi-systematic literature review, collecting articles and mapping them into the most prominent categories, reviewing the current and ongoing status, and analyzing the open challenges of LLM-based software testing. Lastly, we have outlined several expected long-term impacts of LLMs over the whole software testing field.

cs.SE↗

An Adaptive Testing Approach Based on Field Data

The growing need to test systems post-release has led to extending testing activities into production environments, where uncertainty and dynamic conditions pose significant challenges. Field testing approaches, especially Self-Adaptive Testing in the Field (SATF), face hurdles like managing unpredictability, minimizing system overhead, and reducing human intervention, among others. Despite its importance, SATF remains underexplored in the literature. This work introduces AdapTA (Adaptive Testing Approach), a novel SATF strategy tailored for testing Body Sensor Networks (BSNs). BSNs are networks of wearable or implantable sensors designed to monitor physiological and environmental data. AdapTA employs an ex-vivo approach, using real-world data collected from the field to simulate patient behavior in in-house experiments.

cs.SE↗

Cross-coverage testing of functionally equivalent programs

Cross-coverage of a program P refers to the test coverage measured over a different program Q that is functionally equivalent to P. The novel concept of cross-coverage can find useful applications in the test of redundant software. We apply here cross-coverage for test suite augmentation and show that additional test cases generated from the coverage of an equivalent program, referred to as cross tests, can increase the coverage of a program in more effective way than a random baseline. We also observe that -contrary to traditional coverage testing-cross coverage could help finding (artificially created) missing functionality faults.

cs.SE↗

An automated model-based test oracle for access control systems

In the context of XACML-based access control systems, an intensive testing activity is among the most adopted means to assure that sensible information or resources are correctly accessed. Unfortunately, it requires a huge effort for manual inspection of results: thus automated verdict derivation is a key aspect for improving the cost-effectiveness of testing. To this purpose, we introduce XACMET, a novel approach for automated model-based oracle definition. XACMET defines a typed graph, called the XAC-Graph, that models the XACML policy evaluation. The expected verdict of a specific request execution can thus be automatically derived by executing the corresponding path in such graph. Our validation of the XACMET prototype implementation confirms the effectiveness of the proposed approach.

cs.SE↗