Sha256: d96931f8b5f6fa26b2115b4104052843401c876261aad728fa517162ef18b36e

Contents?: true

Size: 1.16 KB

Versions: 1

Compression:

Stored size: 1.16 KB

Contents

# For complete Aruba step listing see:
# lib/aruba/cucumber.rb
# or https://github.com/aslakhellesoy/aruba/blob/master/lib/aruba/cucumber.rb
Feature: SSH steps
  In order to specify remote command execution
  As a developer using Cucumber
  I want to use Aruba and custom steps to describe SSH sessions

  Background:
    Given that "cuken/ssh" has been required
    And default ssh-forever options
    And I initialize password-less SSH access

  Scenario: Aruba steps for remote commands via password-less SSH access
    Given I successfully run "ssh cuken 'echo Supercalifragilisticexpialidocious;'"
    Then the output should contain "Supercalifragilisticexpialidocious"

  Scenario: Batch initialize password-less SSH access
    When I initialize password-less SSH access for:
      | user      | hostname   | name         | port        |
      | `whoami`  | `hostname` | `echo cuken` | `echo 22`   |
      | :default  | localhost  | `echo cuken` | 22          |
      | :default  | :default   | :default     | :default    |
    And I successfully run "ssh cuken 'echo Supercalifragilisticexpialidocious;'"
    Then the output should contain "Supercalifragilisticexpialidocious"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cuken-0.1.1 features/ssh.feature