features/logging.feature in prlbackup-1.0.3 vs features/logging.feature in prlbackup-1.1.0

- old
+ new

@@ -11,12 +11,11 @@ | {423dba54-45e3-46f1-9aa2-87d61ce6b757} | running | Windows XP | | {55aae003-298d-4199-82ed-23658a218605} | stopped | Ubuntu | Scenario: Log the last stdout line from prlctl When I successfully run `prlbackup "Windows XP"` - And the stdout should contain "[Windows XP] Starting backup..." - And the stdout should contain "The VM has been successfully stopped" + Then the stdout should contain "The VM has been successfully stopped" And the stdout should contain "The virtual machine has been successfully backed up with backup id" And the stdout should contain "The VM has been successfully started" Scenario: Log the virtual machines name When I successfully run `prlbackup --all` @@ -30,10 +29,18 @@ BOOOOM! """ When I run `prlbackup Ubuntu` Then the output should match /ERROR.+BOOOOM/ - Scenario: Be verbose + Scenario: Display commands with option --verbose When I run `prlbackup --verbose "Windows XP"` - Then the stdout should contain "Running `prlctl stop \{423dba54-45e3-46f1-9aa2-87d61ce6b757\}`" - And the stdout should contain "Running `prlctl backup \{423dba54-45e3-46f1-9aa2-87d61ce6b757\}`" - And the stdout should contain "Running `prlctl start \{423dba54-45e3-46f1-9aa2-87d61ce6b757\}`" + Then the stdout should contain "prlctl list --info" + And the stdout should contain "prlctl stop" + And the stdout should contain "prlctl backup" + And the stdout should contain "prlctl start" + + Scenario: Display commands with VM impact with option --dry-run + When I run `prlbackup --dry-run "Windows XP"` + Then the stdout should contain "prlctl stop" + And the stdout should contain "prlctl backup" + And the stdout should contain "prlctl start" + But the stdout should not contain "prlctl list"