TestifyConfig Module
Functions and values
| Function or value |
Description
|
Full Usage:
TestifyConfig.addCheckConfigTransformer transformer config
Parameters:
Config -> Config
-
The transformer that should adjust the default FsCheck configuration.
config : TestifyConfig
-
The existing Testify configuration.
Returns: TestifyConfig
A copy of config with the transformer appended.
|
Adds one transformer that augments the default FsCheck configuration used by Testify property checks.
Example
val config: obj
|
Full Usage:
TestifyConfig.defaults
Returns: TestifyConfig
A configuration with default report options, no hint rules, no hint packs, and no property-config
transformers.
|
The neutral Testify configuration.
Example
val config: obj
|
Full Usage:
TestifyConfig.withHintPacks packs config
Parameters:
TestifyHintPack list
-
The hint packs that should replace the current list.
config : TestifyConfig
-
The existing Testify configuration.
Returns: TestifyConfig
A copy of config with its hint packs replaced.
|
Replaces the configured hint packs used by Testify.
Example
val config: obj
|
Full Usage:
TestifyConfig.withHints rules config
Parameters:
TestifyHintRule list
-
The explicit hint rules that should replace the current list.
config : TestifyConfig
-
The existing Testify configuration.
Returns: TestifyConfig
A copy of config with its hint rules replaced.
|
Replaces the configured hint rules used by Testify.
Example
val whitespaceHint: obj
val config: obj
|
Full Usage:
TestifyConfig.withOutputFormat outputFormat config
Parameters:
OutputFormat
-
The new rendered output format, such as WallOfText or Json.
config : TestifyConfig
-
The existing Testify configuration.
Returns: TestifyConfig
A copy of config with its report output format replaced.
|
Replaces the configured output format used by Testify rendering.
Example
val config: obj
|
Full Usage:
TestifyConfig.withReportOptions options config
Parameters:
TestifyReportOptions
-
The new report options to install into the configuration.
config : TestifyConfig
-
The existing Testify configuration.
Returns: TestifyConfig
A copy of config that uses options.
|
Replaces the default report options used by Testify.
|
testify