Skip to content

Commit 2ee23f4

Browse files
authored
Update dry-run.md (#1055)
Added a sentence to suggest another use of DryRun is to pair it with Formatters to obtain information for downstream analysis.
1 parent 1b34655 commit 2ee23f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/execution/dry-run.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Introduced in Reqnroll v3
66

77
The Runtime of Reqnroll supports running tests in a "dry run" mode. This means that when each test is executed, the runtime will skip executing the code in your step handlers.
88

9-
This can be useful for Pull Request/CI scenarios where you want to ensure all steps declared in the feature files match to a step handler in your C# code, but executing the test suite as normal is lengthy, expensive, or not possible. This feature is usually paired with the [runtime configuration](../installation/configuration.md#runtime) option `"missingOrPendingStepsOutcome": "Error"` to ensure any unbound steps are reported as errors.
9+
This can be useful for Pull Request/CI scenarios where you want to ensure all steps declared in the feature files match to a step handler in your C# code, but executing the test suite as normal is lengthy, expensive, or not possible. This feature is usually paired with the [runtime configuration](../installation/configuration.md#runtime) option `"missingOrPendingStepsOutcome": "Error"` to ensure any unbound steps are reported as errors. Another example use is for downstream reporting/analysis. By combining the use of Dry Run mode with [Formatters](../reporting/reqnroll-formatters.md) you can obtain information for reports such as Feature names, lists of Scenarios, and lists of step definition bindings used by scenarios (and by inference, those not used).
1010

1111
## Enabling Dry Run
1212
To enable dry run mode, set the environment variable `REQNROLL_DRY_RUN=true` when executing your tests.

0 commit comments

Comments
 (0)