ohbarye / pbt

Property-Based Testing tool for Ruby, supporting multiple concurrency methods (Ractor, multiprocesses, multithreads).
https://rubygems.org/gems/pbt
MIT License
207 stars 4 forks source link

Restructure codebase drastically #4

Closed ohbarye closed 6 months ago

ohbarye commented 6 months ago

Issue

The previous code structure was so messy that it was hard to add more functionalites.

Change

This restructures the codebase drastically, mainly inspired by https://github.com/dubzzz/fast-check.

Trade-off

This change rollbacks the benefit introduced by https://github.com/ohbarye/pbt/pull/2. This tool no longer runs multiple property tests in parallel. It's so sad but I think it's better to prioritize to add functionalities rather than sticking with parallelism.