The University of Texas at Austin
Combinatorial methods and search with generative AI for real-world testing and API synthesis
Abstract
dc:description.abstractSoftware test cases are central to modern software systems, clarifying expected behavior and giving developers confidence to evolve and maintain code over time. Techniques centered on test cases span three areas: generation (creating tests), execution (orchestrating, selecting, and monitoring them), and development (using tests to drive design, synthesis, and maintenance). Despite recent progress in these techniques, applying them reliably and cost effectively to complex real-world systems remains challenging and demands further research and tooling improvements. Software test cases are central to modern software systems, clarifying expected behavior and giving developers confidence to evolve and maintain code over time. Techniques centered on test cases span three areas: generation (creating tests), execution (orchestrating, selecting, and monitoring them), and development (using tests to drive design, synthesis, and maintenance). Despite recent progress in these techniques, applying them reliably and cost effectively to complex real-world systems remains challenging and demands further research and tooling improvements. In this work, we leverage combinatorial and systematic search methods, augmented by generative AI, to improve the adoption of test-centric techniques, spanning test generation, execution, and development, in real-world software applications. Our work makes a threefold contribution. First, we introduce an approach for synthesizing programs with large language models that leverages LLMs and test cases by combining Automatic Prompt Optimization and Reinforcement Learning from Verifiable Rewards, using a target API’s test suite to efficiently steer synthesis toward functional correctness. Second, we propose a test case generation technique that unifies constraint-based generation of structurally complex tests with combinatorial test generation by integrating Korat, a constraint-based generator for structurally complex inputs, and ACTS, a combinatorial test generator, to generate test suites for large-scale software systems with structurally complex inputs. Third, we present TestSage, a regression test selection (RTS) technique that performs RTS for web service tests on large-scale commercial software and, with small overhead, collects fine-grained (function-level) dependencies between tests and services under test that do not directly depend on each other. We present the algorithms, enabling data structures, and implementation artifacts, and report an experimental evaluation demonstrating the effectiveness, efficiency, and scalability of our approaches. We believe this work opens a promising direction to improve the reliability and cost-effectiveness of adopting test-centric techniques, spanning generation, execution, and development, in complex, real-world software systems and workflows.
Degree
thesis:*- Name thesis:degree_name
- Doctor of Philosophy
- Discipline thesis:degree_discipline
- Electrical and Computer Engineering
- Department thesis:degree_department
- Electrical and Computer Engineering
- Grantor
- The University of Texas at Austin
- Year dc:date.issued
- 2025
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Zhong, Hua, M.S. in Engineering
- Advisor dc:contributor.advisor
-
- Khurshid, Sarfraz
- Committee members dc:contributor.committeemember
-
- Zhang, Lingming
- Barber, Suzanne
- Gligoric, Milos
- Aziz, Adnan
Subjects
dc:subject × 13Rights
- Language dc:language.iso
- English
Identifiers
dc:identifier.*- Identifier URI
- https://hdl.handle.net/2152/136007