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

Fix wrong num_runs report #14

Closed ohbarye closed 6 months ago

ohbarye commented 6 months ago

Change

This fixes wrong reporting of num_runs. That happens because RunnerIterator's index count has been done wrongly. I added index to Case and let runner pass an index the case, then RunExecution refers the passed index.