Sha256: 152913dca2ac92705917977a17a96a00d8b9e0244a731afd5ca342d23a6af515

Contents?: true

Size: 1.26 KB

Versions: 12

Compression:

Stored size: 1.26 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
    Given 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
    Given 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"

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
adhearsion-2.3.5 features/cli_start.feature
adhearsion-2.3.4 features/cli_start.feature
adhearsion-2.3.3 features/cli_start.feature
adhearsion-2.3.2 features/cli_start.feature
adhearsion-2.3.1 features/cli_start.feature
adhearsion-2.3.0 features/cli_start.feature
adhearsion-2.2.1 features/cli_start.feature
adhearsion-2.2.0 features/cli_start.feature
adhearsion-2.1.3 features/cli_start.feature
adhearsion-2.1.2 features/cli_start.feature
adhearsion-2.1.1 features/cli_start.feature
adhearsion-2.1.0 features/cli_start.feature