Test suites are inherently imperfect, and testers can always enrich a suite with new test cases that improve its quality and, consequently, the reliability of the target software system. However, finding test cases that explore execution scenarios beyond the scope of an existing suite can be extremely challenging and labor-intensive, particularly when managing large test suites over extended periods.In this paper, we propose E-Test, an approach that reduces the gap between the execution space explored with a test suite and the executions experienced in production. E-Test (i) identifies executions that have not yet been tested from large sets of scenarios, such as those monitored during intensive production usage, and (ii) generates new test cases that enhance the test suite. E-Test leverages Large Language Models (LLMs) to pinpoint scenarios that the current test suite does not adequately cover, and augments the suite with test cases that execute these scenarios.Our evaluation on a dataset of 1,975 execution scenarios demonstrates that E-Test identifies not-yet-tested execution scenarios significantly better than state-of-the-art approaches. While existing regression testing and field testing approaches for this task achieve a maximum F1-score of 0.34, and vanilla LLMs achieve a maximum F1-score of 0.39, E-Test reaches 0.55.These results highlight the impact of E-Test in enhancing test suites by effectively targeting not-yet-tested execution scenarios and reducing manual effort required for maintaining test suites.

Qiu, K., Di Grazia, L., Mariani, L., Pezze, M. (2026). E-Test: E'er-Improving Test Suites. In ICSE '26: Proceedings of the 2026 IEEE/ACM 48th International Conference on Software Engineering (pp.3207-3219). Association for Computing Machinery, Inc [10.1145/3744916.3773126].

E-Test: E'er-Improving Test Suites

Mariani L.;Pezze M.
2026

Abstract

Test suites are inherently imperfect, and testers can always enrich a suite with new test cases that improve its quality and, consequently, the reliability of the target software system. However, finding test cases that explore execution scenarios beyond the scope of an existing suite can be extremely challenging and labor-intensive, particularly when managing large test suites over extended periods.In this paper, we propose E-Test, an approach that reduces the gap between the execution space explored with a test suite and the executions experienced in production. E-Test (i) identifies executions that have not yet been tested from large sets of scenarios, such as those monitored during intensive production usage, and (ii) generates new test cases that enhance the test suite. E-Test leverages Large Language Models (LLMs) to pinpoint scenarios that the current test suite does not adequately cover, and augments the suite with test cases that execute these scenarios.Our evaluation on a dataset of 1,975 execution scenarios demonstrates that E-Test identifies not-yet-tested execution scenarios significantly better than state-of-the-art approaches. While existing regression testing and field testing approaches for this task achieve a maximum F1-score of 0.34, and vanilla LLMs achieve a maximum F1-score of 0.39, E-Test reaches 0.55.These results highlight the impact of E-Test in enhancing test suites by effectively targeting not-yet-tested execution scenarios and reducing manual effort required for maintaining test suites.
paper
Field Testing; Large Language Model; Test Suite Augmentation;
English
48th International Conference on Software Engineering, ICSE 2026 - 12 April 2026 - 18 April 2026
2026
ICSE '26: Proceedings of the 2026 IEEE/ACM 48th International Conference on Software Engineering
9798400720253
2026
3207
3219
none
Qiu, K., Di Grazia, L., Mariani, L., Pezze, M. (2026). E-Test: E'er-Improving Test Suites. In ICSE '26: Proceedings of the 2026 IEEE/ACM 48th International Conference on Software Engineering (pp.3207-3219). Association for Computing Machinery, Inc [10.1145/3744916.3773126].
File in questo prodotto:
Non ci sono file associati a questo prodotto.

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/630881
Citazioni
  • Scopus 1
  • ???jsp.display-item.citation.isi??? 0
Social impact