Implement dry run mode

This commit is contained in:
Thibault Jouan
2014-05-25 12:11:38 +00:00
parent 332bb1a416
commit 87a3ead082
8 changed files with 57 additions and 9 deletions

View File

@@ -0,0 +1,11 @@
Feature: CLI dry run option
Scenario: perfoms a trial run without applying actions
Given a recipe with:
"""
task :say_hello do
echo 'hello'
end
"""
When I successfully execute the recipe with option -n
Then the output must not contain "hello"