Dry run is a run mode in which no steps or any type of hooks are executed. A few examples where this is useful:
- Finding unused step definitions with usage reports
- Generating snippets for all undefined steps
- Checking if your path, tag expression, etc. matches the scenarios you expect it to
Dry run can be enabled using dryRun
, like seen below.
$ cypress run --env dryRun=true