Method: Pbt::Check::ConfigurationMethods#configuration

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

#configurationConfiguration

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

Examples:

config = Pbt.configuration
config.num_runs = 20

Returns:

[View source]

39
40
41
# File 'lib/pbt/check/configuration.rb', line 39

def configuration
  @configuration ||= Configuration.new
end