Unflatten features directory tree

This commit is contained in:
Thibault Jouan
2014-11-18 11:58:23 +00:00
parent 86a84bbe12
commit 2d3975d47f
36 changed files with 1 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
Feature: nested tasks
Background:
Given a recipe with:
"""
task :outer_task do
task :inner_task do
echo 'OK'
end
end
"""
Scenario: applies nested tasks
When I successfully execute the recipe
Then the output must match /\AOK/
Scenario: indents logging from nested tasks
When I successfully execute the recipe with option -v
Then the output must match /^ Task:.+/
And the output must match /^ action:.+/