arXiv AI By Alperen Keles

Ephyra: A Property-Based Testing Framework for the LLM Era

Read the original on arXiv AI →

Ephyra is a property‑based testing library written in Rust that emphasizes customizability, observability, and generator synthesis. It allows users to build their own testing loops from generation, mutation, and shrinking, and to synthesize these components to meet functional predicates. In experiments on 14 open‑source systems—including database engines, a policy engine, a SQL equivalence prover, a URL parser, Rust reimplementations of classic tools, and several compilers—Ephyra discovered 349 bugs, of which 300 were reported.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv AI.

arXiv AI
Nov 14

Spec-Driven PBT: Deriving Semantic Invariants from Code Specifications for Agentic Property-based Testing

Spec-Driven PBT is a testing approach that derives invariant properties from a natural‑language specification before inspecting the implementation to generate concrete tests. In a study of 25 ViBench applications, it uncovered a unique set of bugs that Code‑driven PBT missed, using 2.4× fewer property tests and finding roughly the same total number of bugs with little overlap between the two methods. The approach highlights how specifications can reveal bugs related to documented product workflows, complementing implementation‑focused testing.

By Aditya Shukla, Kartik Gupta, Ali Alavi, Pashootan Vaezipoor