Enable dry run mode when PRODUCER_DRYRUN is set
This commit is contained in:
1 parent
2b0e62be26
commit
658e333420
3 files changed
+17
-2
No files matched your search
@@ -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