Module
Test.Spec.Config
- Package
- purescript-spec
- Repository
- purescript-spec/purescript-spec
#Config Source
type Config = { exit :: Boolean, failFast :: Boolean, filterTree :: TreeFilter, slow :: Milliseconds, timeout :: Maybe Milliseconds }
Configuration options for the test runner.
This type defines various settings that control the behavior of the test runner.
Config has the following fields
slow
: Threshold of time beyond which a test is considered "slow".timeout
: An optional timeout, applied to each individual test. When omitted, tests are allowed to run forever.exit
: Whentrue
, the runner will exit the Node process after running tests. Iffalse
, the runner will merely return test results.failFast
: Whentrue
, first failed test stops the whole run.filterTree
: The spec tree goes through this function before execution. Can be used to filter out test cases, rearrange, annotate, etc.
- Modules
- Test.
Spec - Test.
Spec. Assertions - Test.
Spec. Assertions. String - Test.
Spec. Config - Test.
Spec. Console - Test.
Spec. Reporter - Test.
Spec. Reporter. Base - Test.
Spec. Reporter. Console - Test.
Spec. Reporter. Dot - Test.
Spec. Reporter. Spec - Test.
Spec. Reporter. Tap - Test.
Spec. Reporter. TeamCity - Test.
Spec. Result - Test.
Spec. Runner - Test.
Spec. Runner. Event - Test.
Spec. Speed - Test.
Spec. Style - Test.
Spec. Summary - Test.
Spec. Tree