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

#runSpec Source

runSpec :: 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 String 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.

Re-exports from Test.Spec.Config

#TreeFilter Source

newtype TreeFilter

Constructors

#Config Source

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

#defaultConfig Source