Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 465 Bytes

dry-run.md

File metadata and controls

15 lines (10 loc) · 465 Bytes

← Back to documentation

Dry run

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