Haemin's blog

Day: July 24, 2024

Stateful Composition of Property-Based Testing Generators

Objective: Create a library extending ScalaCheck to allow stateful composition of generators with complex dependencies and constraints.   Key Requirements: 1. Support for deep, nested generator compositions (e.g., A-B-C-D). 2. Allow constraints between non-adjacent generators (e.g., A-D). 3. Enable sequential generation of data to maintain state consistency. 4. Permit regeneration or selection of specific child […]

Back to top