Namespace: FsCheck.FSharp
Assembly: FsCheck.dll
Function or value | Description |
|
Classify test cases. Test cases satisfying the condition are assigned the classification given.
|
|
Collect data values. The argument of collect is evaluated in each test case, and the distribution of values is reported, using sprintf "%A".
|
Full Usage:
Prop.discard ()
Parameters:
unit
Returns: 'a
|
|
Full Usage:
Prop.filter condition assertion
Parameters:
bool
assertion : 'Testable
Returns: Property
|
Conditional property combinator. Resulting property holds if the given property holds whenever the condition does. See also operator: 'assertion ==> property'
|
|
Quantified property combinator. Provide a custom test data generator to a property.
|
Full Usage:
Prop.given condition (iftrue, ifFalse)
Parameters:
bool
iftrue : 'TestableIfTrue
ifFalse : 'TestableIfFalse
Returns: Property
|
Depending on the condition, return the first testable if true and the second if false.
|
|
Add the given label to the property. The labels of a failing sub-property are displayed when it fails.
|
|
Turns a testable type into a property. Testables are unit, boolean, Lazy testables, Gen testables, functions from a type for which a generator is know to a testable, tuples up to 6 tuple containing testables, and lists containing testables.
|
|
Expect exception 't when executing p. So, results in success if an exception of the given type is thrown, and a failure otherwise.
|
|
Count trivial cases. Test cases for which the condition is True are classified as trivial.
|