Sha256: 06ffdb6ae2de923b26105a34f57d29448d16fe8f93da7de60f61c001eac72661

Contents?: true

Size: 1.85 KB

Versions: 9

Compression:

Stored size: 1.85 KB

Contents

Feature: Development Steps

  In order to keep my cucumber scenarios nice and tight
  As a developer of prlbackup
  I want convenient development steps to fake virtual machines

  Background:
    Given the following virtual machines:
      | uuid                                   | status  | name          |
      | {97351580-afd7-4aff-9960-814196b28e37} | stopped | Mac OS X Lion |
      | {423dba54-45e3-46f1-9aa2-87d61ce6b757} | running | Windows XP    |
      | {55aae003-298d-4199-82ed-23658a218605} | stopped | Ubuntu        |

  Scenario: prlctl list --info Ubuntu
    When I successfully run `prlctl list --info Ubuntu`
    Then the stdout should contain exactly:
      """
      ID: {55aae003-298d-4199-82ed-23658a218605}
      Name: Ubuntu
      State: stopped

      """

  Scenario: prlctl stop ...
    When I successfully run `prlctl stop {55aae003-298d-4199-82ed-23658a218605}`
    Then the stdout should contain exactly:
      """
      Stopping the VM...
      The VM has been successfully stopped.

      """

  Scenario: prlctl backup ...
    When I successfully run `prlctl backup {55aae003-298d-4199-82ed-23658a218605}`
    Then the stdout should contain exactly:
      """
      Backing up the VM Ubuntu
      The virtual machine has been successfully backed up with backup id {d51e6df1-83e9-46e2-aef1-3807d721c1be}.

      """

  Scenario: prlctl start ...
    When I successfully run `prlctl start {55aae003-298d-4199-82ed-23658a218605}`
    Then the stdout should contain exactly:
      """
      Starting the VM...
      The VM has been successfully started.

      """

  Scenario: prlctl list --all ...
    When I run `prlctl list --all --output uuid`
    Then the stdout should contain exactly:
      """
      UUID
      {97351580-afd7-4aff-9960-814196b28e37}
      {423dba54-45e3-46f1-9aa2-87d61ce6b757}
      {55aae003-298d-4199-82ed-23658a218605}

      """

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
prlbackup-1.3.0 features/dev_steps.feature
prlbackup-1.2.0 features/dev_steps.feature
prlbackup-1.1.3 features/dev_steps.feature
prlbackup-1.1.2 features/dev_steps.feature
prlbackup-1.1.1 features/dev_steps.feature
prlbackup-1.1.0 features/dev_steps.feature
prlbackup-1.0.3 features/dev_steps.feature
prlbackup-1.0.2 features/dev_steps.feature
prlbackup-1.0.0 features/dev_steps.feature