Module Test.Cli

Command line.

val s_common_options : string

s_common_options is the manpage section name where common options are listed.

val setup : unit Cmdliner.Term.t

setup has a command line to setup B0_testing. If you use main more information can be obtained by running your tool with --help. But in a nutshell:

  • --seed and SEED to specify the seed.
  • --correct and CORRECT to indicate snapshot correction.
  • --force-correct to force expected snapshots to update.
  • --diff-cmd to set the external command used for diffing
  • --src-root to resolve relative source file paths
  • -i NAME and -x NAME to select tests