Testify Type
Public facade for installing and inspecting Testify's global default configuration.
Configure Testify once during test setup, then use the ordinary Assert and Check
APIs. Explicit per-call overloads still override these defaults.
Hints are opt-in. Start from TestifyConfig.defaults for a neutral configuration, then
add withHints or withHintPacks only when a test suite intentionally wants them.
Example:
Testify.configure (
TestifyConfig.defaults
|> TestifyConfig.addCheckConfigTransformer CheckConfig.addMiniArbs
)
Testify.configure (
TestifyConfig.defaults
|> TestifyConfig.withHintPacks [ MiniHints.pack ]
|> TestifyConfig.addCheckConfigTransformer CheckConfig.addMiniArbs
)
Static members
| Static member |
Description
|
Full Usage:
Testify.configure config
Parameters:
TestifyConfig
-
The configuration to install globally for subsequent Assert and Check calls that
do not override behavior explicitly.
|
Installs the supplied global Testify configuration.
Example
|
Full Usage:
Testify.currentConfiguration ()
Returns: TestifyConfig
The active global Testify configuration.
|
Returns the currently installed global Testify configuration.
Example
val config: obj
|
Full Usage:
Testify.resetConfiguration ()
|
Restores Testify's neutral default configuration. Example
|
testify