Skip to content

Details

[<Interface>]
type Details =
    abstract member duration_ms: float with get, set
    abstract member error: Error option with get, set
    abstract member passed: bool with get, set
    abstract member type: string option with get, set
    static member Create (passed: bool, duration_ms: float, ?error: Error, ?type: string) : Details
AssemblyXantham.Fable.Node
Attributes[<Interface>]

Properties

abstract member duration_ms: float with get, set

The duration of the test in milliseconds.

abstract member error: Error option with get, set

An error wrapping the error thrown by the test if it did not pass.

abstract member passed: bool with get, set

Whether the test passed or not.

abstract member type: string option with get, set

The type of the test, used to denote whether this is a suite.

Methods

static member Create (passed: bool, duration_ms: float, ?error: Error, ?type: string) : Details