plumatic / schema-generators

test.check generators and data completion for Schema
77 stars 8 forks source link

Implement such-that maximum retries option #29

Closed jobtravaini closed 9 months ago

jobtravaini commented 10 months ago

Context

clojure.test.check has the option to increase the maximum number of retries for generators. When creating complex schemas, you may face flakiness of generators and tests because of conditionals and other types of constraints. If the reader is interested in reading more about the context, the issue opened https://github.com/plumatic/schema-generators/issues/28 has more context.

Changes

To enable configuration of max-retries on such-that.

Changes: