Module

Mote.Description

#Description

data Description :: (Type -> Type) -> Type -> Typedata Description b t

The data structure backing the MoteT DSL.

Constructors

Instances

#test

test :: forall b t. String -> t -> Description b t

Basic constructor for Test with a label and value.

#group

group :: forall b t. String -> Array (Description b t) -> Description b t

Basic constructor for Group with a label and inner entries.

#RunMode

data RunMode

The run mode option for a Description item. Used when building a Plan from a Description, this directs which tests should be skipped.

Constructors

#setRunMode

setRunMode :: forall b t. RunMode -> Description b t -> Description b t

Sets the RunMode of a Description.

#setBracket

setBracket :: forall b t r. { after :: r -> b Unit, before :: b r } -> Description b t -> Description b t

Sets the bracket value of a Description.

Modules