producer-core/features/cli/debug.feature
2014-11-18 11:58:23 +00:00

12 lines
291 B
Gherkin

Feature: CLI debug option
Background:
Given a recipe with:
"""
task(:trigger_error) { fail 'some error' }
"""
Scenario: reports recipe errors
When I execute the recipe with option -d
Then the output must match /\ARuntimeError:.*\n\ncause:\nRuntimeError:/