Module

Test.Spec.Runner

Package
purescript-spec
Repository
purescript-spec/purescript-spec

#run Source

run :: Warn (Text "`Test.Spec.Runner.run` is Deprecated use runSpec instead") => Array Reporter -> Spec Unit -> Aff Unit

Run the spec with the default config

#runSpecT Source

runSpecT :: forall m. Functor m => Config -> Array Reporter -> SpecT Aff Unit m Unit -> m (Aff (Array (Tree Void Result)))

Run the spec with config, returning the results, which are also reported using specified Reporters, if any. If configured as such, exit the program upon completion with appropriate exit code.

#runSpec Source

runSpec :: Array Reporter -> Spec Unit -> Aff Unit

Run the spec with the default config

#defaultConfig Source

#Config Source

type Config = { exit :: Boolean, slow :: Milliseconds, timeout :: Maybe Milliseconds }