lula dev validate
.2 minute read
Run an individual Lula validation.
Run an individual Lula validation for quick testing and debugging of a Lula Validation. This command is intended for development purposes only.
lula dev validate [flags]
To run validation from a lula validation manifest:
lula dev validate -f /path/to/validation.yaml
To run validation using a custom resources file:
lula dev validate -f /path/to/validation.yaml -r /path/to/resources.json
To run validation and automatically confirm execution
lula dev validate -f /path/to/validation.yaml --confirm-execution
To run validation from stdin:
cat /path/to/validation.yaml | lula dev validate
To hang indefinitely for stdin:
lula dev validate -t -1
To hang for timeout of 5 seconds:
lula dev validate -t 5
--confirm-execution confirm execution scripts run as part of the validation
-e, --expected-result the expected result of the validation (-e=false for failing result) (default true)
-h, --help help for validate
-f, --input-file string the path to a validation manifest file (default "0")
-o, --output-file string the path to write the validation with results
-r, --resources-file string the path to an optional resources file
-t, --timeout int the timeout for stdin (in seconds, -1 for no timeout) (default 1)
-l, --log-level string Log level when running Lula. Valid options are: warn, info, debug, trace (default "info")
Was this page helpful?