Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sort available options #23

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions lib/prop_check/property/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,12 @@ class Property
# - `max_generate_attempts:` The amount of times the library tries a generator in total
# before raising `Errors::GeneratorExhaustedError`. c.f. `PropCheck::Generator#where`. (Default: 10_000)
# - `max_shrink_steps:` The amount of times shrinking is attempted. (Default: 10_000)
# - `max_consecutive_attempts:`
# - `max_consecutive_attempts:` The amount of times the library tries a filtered generator consecutively
# again before raising `Errors::GeneratorExhaustedError`. c.f. `PropCheck::Generator#where`. (Default: 10_000)
# - `default_epoch:` The 'base' value to use for date/time generators like
# `PropCheck::Generators#date` `PropCheck::Generators#future_date` `PropCheck::Generators#time`, etc.
# (Default: `DateTime.now`)
# - `resize_function` A proc that can be used to resize _all_ generators.
# - `resize_function:` A proc that can be used to resize _all_ generators.
# Takes the current size as integer and should return a new integer.
# (Default: `proc { |size| size }`)
Configuration = Struct.new(
Expand Down
Loading