Sha256: a5d01a988734eada51aa9e0ff330dbea6535974b61ac514b89f422adc7d2bb4e

Contents?: true

Size: 1.76 KB

Versions: 8

Compression:

Stored size: 1.76 KB

Contents

Feature: Adhearsion Ahn CLI (start)
  As an Adhearsion user
  I want the ahn command to provide a 'start' command
  So that I can start an interactive Adhearsion application

  Scenario: Command start with no path outside of the app directory
    When I run `ahn start`
    Then the output should contain:
    """
    A valid path is required for start, unless run from an Adhearson app directory
    """
    And the exit status should be 1

  Scenario: Command start with no path inside of the app directory
    Given JRuby skip test because the console causes the process to never exit
    And that I create a valid app under "path/somewhere"
    When I cd to "path/somewhere"
    And I run `ahn start` interactively
    And I wait for output to contain "Starting connection to server"
    Then the output should contain "Adhearsion::Console: Launching Adhearsion Console"
    And the output should contain "Adhearsion shut down"

  Scenario: Command start with only path works properly
    Given JRuby skip test waiting for https://jira.codehaus.org/browse/JRUBY-6994
    And that I create a valid app under "path/somewhere"
    When I run `ahn start path/somewhere` interactively
    And I wait for output to contain "Starting connection to server"
    Then the output should contain "Adhearsion::Console: Launching Adhearsion Console"
    And the output should contain "Adhearsion shut down"

  Scenario: Starting without the console
    Given that I create a valid app under "path/somewhere"
    When I cd to "path/somewhere"
    And I run `ahn start --no-console` interactively
    And I wait for output to contain "Starting connection to server"
    Then the output should not contain "Adhearsion::Console: Launching Adhearsion Console"
    And the output should contain "Adhearsion shut down"

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
adhearsion-2.5.4 features/cli_start.feature
adhearsion-2.5.3 features/cli_start.feature
adhearsion-2.5.2 features/cli_start.feature
adhearsion-2.5.0 features/cli_start.feature
adhearsion-2.4.0 features/cli_start.feature
adhearsion-2.4.0.beta3 features/cli_start.feature
adhearsion-2.4.0.beta2 features/cli_start.feature
adhearsion-2.4.0.beta1 features/cli_start.feature