Teralizer turns a JUnit test into a property-based jqwik test: it records the path condition and symbolic output of the tested execution and checks the output on generated inputs that follow the same path. This catches regressions such as a changed boundary that the original test misses. A one-script example shows the whole pipeline on a loan approval method.

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.

Your browser does not support inline PDF viewing. Download the PDF instead.

BibTeX
@misc{glock_2026_teralizer_tool,
  title         = {Teralizer: A Tool for Generalizing {JUnit} Tests into Property-Based jqwik Tests},
  author        = {Glock, Johann and Bauer, Clemens and Pinzger, Martin},
  year          = {2026},
  eprint        = {2611.19242},
  archivePrefix = {arXiv},
  url           = {https://arxiv.org/abs/2611.19242}
}
test generalizationproperty-based testingregression testingtool