AI
AI Models Show Promise Writing Property-Based Tests Across Five Software Domains
A new study evaluates how well large language models can generate property-based tests for diverse software systems beyond Python, uncovering both strengths and limitations.
Researchers have tested how effectively language models can automatically generate property-based tests—a testing approach that verifies program behavior across many randomly generated inputs—across a range of real-world software systems. The work extends beyond previous evaluations, which focused narrowly on Python libraries, to examine how two AI-powered test generators perform on complex systems spanning multiple domains.
The Study Setup#
The investigation examined Proptest-AI and Agentic-PBT, two systems that use LLMs to produce all three components required for property-based testing: the property being checked, a generator that creates valid test inputs, and the validation logic (oracle). Researchers evaluated these tools on ten programs across five distinct areas: deep learning frameworks, database systems, system-level software, programming language compilers, and inference servers for large language models.
A distinctive aspect of this study was the diversity of input types. Many of the tested programs accept text in domain-specific languages—such as SQL queries, configuration files, and program code—creating realistic challenges for both the models and conventional testing approaches.
What the Models Achieved#
Agentic-PBT outperformed Proptest-AI on branch coverage, a key measure of testing thoroughness. When using Anthropic's Opus 5 model, Agentic-PBT achieved better coverage on seven of the ten programs; with GLM-5.3-Flash, it surpassed Proptest-AI on all ten. In some cases, traditional domain-specific fuzzers—hand-optimized tools designed for specific software categories—outperformed the LLM-based approaches on compilers and PostgreSQL, though the AI systems exceeded fuzzer performance for PyTorch.
The testing effort yielded substantial real-world validation. The researchers filed 180 bug reports: 44 turned out to be duplicates of issues others had already reported after the models' knowledge cutoffs, while maintainers confirmed 65 genuine new bugs across all five domains. Twenty-three of these confirmed bugs have been fixed.
Insights for Future Work#
The findings highlight two critical lessons. Low observability—the difficulty of understanding what a program is actually doing internally—emerged as a major barrier to effective AI-powered test generation. The researchers suggest pairing mature domain-specific fuzzers with LLM-written properties as a promising path forward, allowing established testing infrastructure to validate whether documented features behave as intended.

