Impact and Performance of Randomized Test Generation Using Prolog

Abstract We study randomized generation of sequences of test inputs to a system using Prolog. Prolog is a natural fit to generate test sequences that have complex logical interdependent structure. To counter the problems posed by a large (or infinite) set of possible tests, randomization is a natural choice. We study the impact that randomization in conjunction with SLD resolution have on the test performance. To this end, this paper proposes two strategies to add randomization to a test-generating program. One strategy works on top of standard Prolog semantics, whereas the other alters the SLD selection function. We analyze the mean time to reach a test case and the mean number of generated test cases in the framework of Markov chains. Finally, we provide an additional empirical evaluation and comparison between both approaches.

Authors

Institutions

Publication Details

Journal
Theory and Practice of Logic Programming
Published
2025-08-18
DOI
https://doi.org/10.1017/s1471068425100082
Primary Topic
Software Testing and Debugging Techniques
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Impact and Performance of Randomized Test Generation Using Prolog

Marcus Gelderie, Maximilian Luff, Maximilian Peltzer
Theory and Practice of Logic Programming
Software Testing and Debugging Techniques
article

Impact and Performance of Randomized Test Generation Using Prolog

Marcus Gelderie, Maximilian Luff, Maximilian Peltzer
article en

Abstract

Abstract We study randomized generation of sequences of test inputs to a system using Prolog. Prolog is a natural fit to generate test sequences that have complex logical interdependent structure. To counter the problems posed by a large (or infinite) set of possible tests, randomization is a natural choice. We study the impact that randomization in conjunction with SLD resolution have on the test performance. To this end, this paper proposes two strategies to add randomization to a test-generating program. One strategy works on top of standard Prolog semantics, whereas the other alters the SLD selection function. We analyze the mean time to reach a test case and the mean number of generated test cases in the framework of Markov chains. Finally, we provide an additional empirical evaluation and comparison between both approaches.

Theory and Practice of Logic ProgrammingVol. 25(5)
Hochschule Aalen (DE)
Bundesministerium für Bildung und Forschung
Openalex Percentile: Top 78%
Software Testing and Debugging Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Impact and Performance of Randomized Test Generation Using Prolog — Marcus Gelderie, Maximilian Luff, et al. · Theory and Practice of Logic Programming (2025) | TGRS Research Map | TGRS