Component test reference
verifier doctor
The doctor subcommand and its checks
Validate the configuration file and interface model before running a test.
Synopsis
verifier [-c FILE] doctor [--verbose] [--strict]
[--no-color] [--no-tty]
Description
verifier doctor reads the configuration file and
interface model and reports any problems it finds, without starting the
component or opening transports. Run it after writing or editing your
config to catch mistakes before a full test.
Doctor groups checks into three categories:
- Config: YAML syntax, unknown keys, required fields, and values that Verifier will reject or silently correct at runtime, including transport types, serializer names, and license file presence.
- Model: loading the compiled Flex files, and any constraint forms that the generator cannot use directly (cross-field comparisons, unsupported operators, unsupported statement types).
- Cross-reference: that the component named in config exists in the model, that each transport’s connections appear in the model, and that every model connection is covered by a transport.
Each check reports one of four levels:
- Pass: the check succeeded. Shown only with
--verbose. - Info: something worth knowing that is not a problem, such as passive mode being on, no seeds being configured, or a model connection Verifier will infer without a config entry.
- Warn: a problem Verifier will work around, but which often indicates misconfiguration. Worth fixing before a long test.
- Error: a condition that will prevent Verifier from starting. Fix all errors before running.
Passes are hidden unless you add --verbose; everything
else is always shown. Doctor closes with a count of errors, warnings,
and info messages.
Options
--no-color: Optional Disable ANSI color codes while keeping the formatted layout.--no-tty: Optional Force plain-text output with no colors, icons, or wrapping. Use in CI or when piping doctor output to another tool.--strict: Optional Treat warnings and informational messages as errors. Exit 1 if any are found, in addition to the normal exit 1 for errors.--verbose: Optional Show all checks, including passes.
Exit Codes
- 0: No errors found. Warnings may be present when
--strictis not set. - 1: One or more errors found. With
--strict, also 1 when warnings or informational messages are present.
Examples
Check the default config before running:
verifier doctor
Check a specific config, showing all results including passes:
verifier -c staging.yaml doctor --verbose
Use as a strict preflight check in CI:
verifier doctor --strict --no-tty