Hedgehog


PropertyConfigExtensions Type

Namespace: Hedgehog.Linq

Assembly: Hedgehog.dll

Base Type: obj

Static members

Static member Description

PropertyConfigExtensions.WithShrinks(config, shrinkLimit)

Full Usage: PropertyConfigExtensions.WithShrinks(config, shrinkLimit)

Parameters:
Returns: PropertyConfig

Set the number of times a property is allowed to shrink before the test runner gives up and displays the counterexample.

config : PropertyConfig
shrinkLimit : int<MeasureProduct<shrinks, MeasureOne>>
Returns: PropertyConfig

PropertyConfigExtensions.WithTests(config, testLimit)

Full Usage: PropertyConfigExtensions.WithTests(config, testLimit)

Parameters:
Returns: PropertyConfig

Set the number of times a property should be executed before it is considered successful.

config : PropertyConfig
testLimit : int<MeasureProduct<tests, MeasureOne>>
Returns: PropertyConfig

PropertyConfigExtensions.WithoutShrinks(config)

Full Usage: PropertyConfigExtensions.WithoutShrinks(config)

Parameters:
Returns: PropertyConfig

Restores the default shrinking behavior.

config : PropertyConfig
Returns: PropertyConfig