Enable dry run mode when PRODUCER_DRYRUN is set
This commit is contained in:
@@ -15,3 +15,8 @@ Feature: CLI dry run option
|
||||
Scenario: prints a warning before any output
|
||||
When I successfully execute the recipe with option -n
|
||||
Then the output must match /\AWarning: running in dry run mode, actions will NOT be applied/
|
||||
|
||||
Scenario: enables dry run mode from the environment
|
||||
Given I set the environment variable "PRODUCER_DRYRUN"
|
||||
When I successfully execute the recipe
|
||||
Then the output must contain "running in dry run"
|
||||
|
Reference in New Issue
Block a user