Skip to main content

Dry Runs

Since v1.0.0

Catch syntax and binding errors

Dry runs can be performed on features to verify that they are syntactically correct and that all references have bindings that will resolve at runtime. This allows you to quickly validate features and catch potential errors before committing them to an execution cycle. The -n|--dry-run CLI option is used to launch Gwen in this mode.

Results will be logged to the console and in HTML reports that you can inspect to find discovered issues.

Example

If you leave out or forget to define a selector for an input field, it would be detected by a dry run and reported in the HTML report as follows:

Example dry run with error