Function: check()
Call Signature
check<
Ts>(property,params?):Promise<RunDetails<Ts>>
Defined in: packages/fast-check/src/check/runner/Runner.ts:70
Run the property, do not throw contrary to assert
WARNING: Has to be awaited
Type Parameters
| Type Parameter |
|---|
Ts |
Parameters
| Parameter | Type | Description |
|---|---|---|
property | IAsyncProperty<Ts> | Asynchronous property to be checked |
params? | Parameters<Ts> | Optional parameters to customize the execution |
Returns
Promise<RunDetails<Ts>>
Test status and other useful details
Remarks
Since 0.0.7
Call Signature
check<
Ts>(property,params?):RunDetails<Ts>
Defined in: packages/fast-check/src/check/runner/Runner.ts:82
Run the property, do not throw contrary to assert
Type Parameters
| Type Parameter |
|---|
Ts |
Parameters
| Parameter | Type | Description |
|---|---|---|
property | IProperty<Ts> | Synchronous property to be checked |
params? | Parameters<Ts> | Optional parameters to customize the execution |
Returns
RunDetails<Ts>
Test status and other useful details
Remarks
Since 0.0.1
Call Signature
check<
Ts>(property,params?):RunDetails<Ts> |Promise<RunDetails<Ts>>
Defined in: packages/fast-check/src/check/runner/Runner.ts:96
Run the property, do not throw contrary to assert
WARNING: Has to be awaited if the property is asynchronous
Type Parameters
| Type Parameter |
|---|
Ts |
Parameters
| Parameter | Type | Description |
|---|---|---|
property | IRawProperty<Ts> | Property to be checked |
params? | Parameters<Ts> | Optional parameters to customize the execution |
Returns
RunDetails<Ts> | Promise<RunDetails<Ts>>
Test status and other useful details
Remarks
Since 0.0.7