Using /producer-\w+ as pattern is incorrect, we have no guarantee that the canonical repository or gem name will be included in the install path. Just use /producer pattern to match lib files or executables.
14 lines
527 B
Gherkin
14 lines
527 B
Gherkin
Feature: CLI debug option
|
|
|
|
Scenario: reports recipe errors with their cause
|
|
Given a recipe with an error
|
|
When I execute the recipe with option -d
|
|
Then the output must match /\ARuntimeError:.*\n\ncause:\nRuntimeError:/
|
|
|
|
Scenario: does not exclude anything from backtrace
|
|
Given a recipe using a remote
|
|
When I execute the recipe on unknown remote target with option -d
|
|
Then the output must contain "producer"
|
|
And the output must contain "net-ssh"
|
|
And the output must contain ruby lib directory
|