arXiv:2611.19242cs.SENov 2026

Manuscript Offprint

arXiv:2611.19242

Teralizer: A Tool for Generalizing JUnit Tests into Property-Based jqwik Tests

Johann Glock, Clemens Bauer, Martin Pinzger

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Background: Property-based testing validates properties across many generated inputs and can thereby detect regressions that conventional unit tests miss. However, writing property-based tests is challenging for practitioners, which limits their adoption. Tool: Teralizer automatically generalizes JUnit tests into property-based jqwik tests for regression detection. Through single-path symbolic analysis, it extracts from each test execution a path condition, which characterizes the inputs that follow the same execution path, and a symbolic output expression, which computes the expected output for these inputs. The generalized tests generate inputs that satisfy the path condition and use the symbolic output expression as the oracle. Results: In our evaluation, generalization increased the mutation scores of EvoSuite-generated test suites by 0.8 to 3.9 percentage points. On the EqBench benchmark, generalizing the test suites that EvoSuite generated with 1 s per class reached the mutation score of EvoSuite's 60 s test suites with 31.9% less total runtime. Availability: Teralizer is available as open source at https://github.com/glockyco/Teralizer.

A PDF page turning into lines of clean text

Preparing the full text

It will appear here by itself. You can read the abstract meanwhile.