Sha256: 59a1b25fc0a44ac8e40bac52ac7a7de2dc412138ce4e77ffa836bdbf16c25d75

Contents?: true

Size: 1.74 KB

Versions: 13

Compression:

Stored size: 1.74 KB

Contents

@wip
Feature: Managing remote servers
  In order to reduce cost of referencing remote servers by explicit --host/--port options
  As a user
  I want a directory of remote servers I frequently use

  Background:
    Given I have a Hudson server running
    And the Hudson server has no current jobs
  
  Scenario: No remote servers
    When I run local executable "hudson" with arguments "list"
    Then I should see "Either use --host or add remote servers."
  
  Scenario: Add a remote server
    When I run local executable "hudson" with arguments "add_remote test --host localhost --port 3010"
    And I run local executable "hudson" with arguments "list"
    Then I should not see "Either use --host or add remote servers."
    And I should see "test [localhost:3010] - no jobs"

  Scenario: Add a few remote servers
    When I run local executable "hudson" with arguments "add_remote test --host localhost --port 3010"
    And I run local executable "hudson" with arguments "add_remote another --host localhost --port 4000"
    And I run local executable "hudson" with arguments "list"
    Then I should not see "Either use --host or add remote servers."
    And I should see "test [localhost:3010] - no jobs"
    And I should see "another [localhost:3011] - no connection"

  Scenario: Add a remote server and access by abbreviation
    When I run local executable "hudson" with arguments "add_remote test --host localhost --port 3010"
    And I run local executable "hudson" with arguments "add_remote another --host another.host"
    And I run local executable "hudson" with arguments "list --server local"
    Then I should not see "Either use --host or add remote servers."
    And I should see "test [localhost:3010] - no jobs"
    And I should not see "another"
    

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
hudson-0.3.0.beta.13 features/manage_remote_servers.feature
hudson-0.3.0.beta.12 features/manage_remote_servers.feature
hudson-0.3.0.beta.11 features/manage_remote_servers.feature
hudson-0.3.0.beta.10 features/manage_remote_servers.feature
hudson-0.3.0.beta.9 features/manage_remote_servers.feature
hudson-0.3.0.beta.8 features/manage_remote_servers.feature
hudson-0.3.0.beta.7 features/manage_remote_servers.feature
hudson-0.3.0.beta.6 features/manage_remote_servers.feature
hudson-0.3.0.beta.5 features/managing_remote_servers.feature
hudson-0.3.0.beta.4 features/managing_remote_servers.feature
hudson-0.3.0.beta.3 features/managing_remote_servers.feature
hudson-0.3.0.beta.2 features/managing_remote_servers.feature
hudson-0.3.0.beta.1 features/managing_remote_servers.feature