Module

Mote.Description

Package
purescript-mote
Repository
garyb/purescript-mote

#Description Source

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

The data structure backing the MoteT DSL.

Constructors

Instances

#test Source

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

Basic constructor for Test with a label and value.

#group Source

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

Basic constructor for Group with a label and inner entries.

#RunMode Source

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 Source

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

Sets the RunMode of a Description.

#setBracket Source

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.