Tezt_mavryk.Mavryk_regressionMavryk-specific extension for the Regression module.
replace_variables log returns log with all occurrences of variables such as contract addresses, hashes etc. that may change between different runs replaced by constants.
val hooks_custom :
?scrubbed_global_options:string list ->
?replace_variables:(string -> string) ->
unit ->
Tezt_wrapper.Process.hooksCustom Mavryk-specific regression hooks that replaces Mavryk-specific values with constants.
scrubbed_global_options list of global options to scrub. Default: remove global options --base-dir, -d, --endpoint, -E, and --sources.
replace_variables is applied to the output and to the argument of each global option not in scrubbed_global_options. Defaults to replace_variables that replaces key hashes, public keys, contract hashes, and timestamps.
Hooks that replaces Mavryk-specific values with constants.
This is hooks_custom with the default arguments.
val rpc_hooks : RPC_core.rpc_hooksPRC_hooks that replaces Mavryk-specific values with constants and calls Regression.capture on request and response.