Expect Module
Fable compatible Expecto/Mocha unification
Functions and values
Function or value | Description |
|
|
|
|
Full Usage:
containsAll actual expected message
Parameters:
'a seq
expected : 'a seq
message : string
|
|
Full Usage:
equal actual expected message
Parameters:
'a
expected : 'a
message : 'b
Modifiers: inline Type parameters: 'a, 'b |
|
Full Usage:
exists actual asserter message
Parameters:
'a seq
asserter : 'a -> bool
message : string
|
|
Full Usage:
fails f message
Parameters:
unit -> unit
message : 'a
|
|
Full Usage:
hasLength actual expectedLength message
Parameters:
'a seq
expectedLength : int
message : string
|
|
|
|
Full Usage:
isEmpty actual message
Parameters:
'a seq
message : string
|
|
|
|
Full Usage:
isFalse actual message
Parameters:
bool
message : 'a
|
|
Full Usage:
isFasterThan f1 f2 message
Parameters:
unit -> unit
f2 : unit -> unit
message : string
|
|
Full Usage:
isNone actual message
Parameters:
'a option
message : string
|
|
Full Usage:
isNotNull actual message
Parameters:
'a
message : 'b
|
|
Full Usage:
isNull actual message
Parameters:
'a
message : 'b
|
|
|
|
Full Usage:
isSome actual message
Parameters:
'a option
message : string
|
|
Full Usage:
isTrue actual message
Parameters:
bool
message : 'a
|
|
Full Usage:
notEqual actual expected message
Parameters:
'a
expected : 'a
message : 'b
|
|
Full Usage:
passWithMsg message
Parameters:
string
|
|
Full Usage:
sequenceEqual actual expected message
Parameters:
'a seq
expected : 'a seq
message : string
Modifiers: inline Type parameters: 'a |
|
Full Usage:
stringEqual actual expected message
Parameters:
string
expected : string
message : 'a
|
This function only verifies non-whitespace characters
|
Full Usage:
throws actual message
Parameters:
unit -> unit
message : string
|
|
Full Usage:
throwsC actual message
Parameters:
unit -> unit
message : exn -> 'a
Returns: 'a
|
|
Full Usage:
wantError actual message
Parameters:
Result<'a, 'b>
message : string
Returns: 'b
|
|
Full Usage:
wantFaster f maxMilliseconds message
Parameters:
unit -> 'T
maxMilliseconds : int
message : string
Returns: 'T
|
|
|
|
Full Usage:
wantSome actual message
Parameters:
'a option
message : string
Returns: 'a
|
|
Full Usage:
workSheetEqual actual expected message
Parameters:
FsWorksheet
expected : FsWorksheet
message : 'a
|
|