Method: Pbt::Check::ConfigurationMethods#configure

Defined in:
lib/pbt/check/configuration.rb

#configure {|configuration| ... } ⇒ Object

Return the current configuration. If you modify the configuration, it will affect all future property-based tests.

Examples:

Pbt.configure do |config|
  config.num_runs = 20
end

Yields:

Yield Parameters:

[View source]

53
54
55
# File 'lib/pbt/check/configuration.rb', line 53

def configure
  yield(configuration)
end